Update makefile with demo

This commit is contained in:
ThuanNaN 2025-01-20 07:30:56 +07:00
parent 7bb8ca2a38
commit ae564bca7b

View File

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