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
```

Yuan Liu's avatar
Yuan Liu committed
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
Yuan Liu's avatar
Yuan Liu committed
25
python run.py configs/multimodal/tasks.py --mm-eval
Yuan Liu's avatar
Yuan Liu committed
26
```