mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
[Feature]: Add launch script (#222)
This commit is contained in:
parent
0fa2482661
commit
3d49a20b95
@ -7,4 +7,20 @@ cd opencompass/multimodal/models/minigpt_4
|
|||||||
git clone https://github.com/Vision-CAIR/MiniGPT-4.git
|
git clone https://github.com/Vision-CAIR/MiniGPT-4.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Then prepare the environement according to this [doc](https://github.com/Vision-CAIR/MiniGPT-4)
|
Then prepare the environement according to this [doc](https://github.com/Vision-CAIR/MiniGPT-4)
|
||||||
|
|
||||||
|
### Start evaluation
|
||||||
|
|
||||||
|
#### Slurm
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cd $root
|
||||||
|
python run.py configs/multimodal/tasks.py --mm-eval --slurm -p $PARTITION
|
||||||
|
```
|
||||||
|
|
||||||
|
#### PyTorch
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cd $root
|
||||||
|
python run.py configs/multimodal/tasks.py
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user