mirror of
https://github.com/Vision-CAIR/MiniGPT-4.git
synced 2025-04-05 10:30:45 +00:00
Update makefile with demo
This commit is contained in:
parent
7bb8ca2a38
commit
ae564bca7b
6
Makefile
6
Makefile
@ -6,6 +6,9 @@ train_mvtec:
|
||||
CUDA_VISIBLE_DEVICES=0 \
|
||||
python train.py --cfg-path train_configs/minigptv2_finetune_mvtec.yaml
|
||||
|
||||
demo_mvtec:
|
||||
python demo_v2.py --cfg-path eval_configs/minigptv2_eval_mvtec.yaml --gpu-id 0
|
||||
|
||||
|
||||
eval_textvqa:
|
||||
CUDA_VISIBLE_DEVICES=0 \
|
||||
@ -14,3 +17,6 @@ eval_textvqa:
|
||||
train_textvqa:
|
||||
CUDA_VISIBLE_DEVICES=0 \
|
||||
python train.py --cfg-path train_configs/minigptv2_finetune_textvqa.yaml
|
||||
|
||||
demo_textvqa:
|
||||
python demo_v2.py --cfg-path eval_configs/minigptv2_eval_textvqa.yaml --gpu-id 0
|
Loading…
Reference in New Issue
Block a user