mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00

* [Feature]: Add Openflamingo MMBench * [Fix]: Fix import error * [Fix]: Revert task config * [Fix]: Fix path bug
21 lines
420 B
Markdown
21 lines
420 B
Markdown
# OpenFlamingo
|
|
|
|
### Prepare the environment
|
|
|
|
Install [MMPretrain](https://github.com/open-mmlab/mmpretrain) according to this [doc](https://mmpretrain.readthedocs.io/en/latest/get_started.html#installation)
|
|
|
|
### 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 --mm-eval
|
|
``` |