README.md 460 Bytes
Newer Older
Yuan Liu's avatar
Yuan Liu committed
1
2
3
4
5
6
7
8
9
# MiniGPT-4

### Prepare the environment

```sh
cd opencompass/multimodal/models/minigpt_4
git clone https://github.com/Vision-CAIR/MiniGPT-4.git
```

10
Then prepare the environment according to this [doc](https://github.com/Vision-CAIR/MiniGPT-4)
Yuan Liu's avatar
Yuan Liu committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24

### Start evaluation

#### Slurm

```sh
cd $root
python run.py configs/multimodal/tasks.py --mm-eval --slurm -p $PARTITION
```

#### PyTorch

```sh
cd $root
Yuan Liu's avatar
Yuan Liu committed
25
python run.py configs/multimodal/tasks.py --mm-eval
26
```