MiniGPT-4 icon indicating copy to clipboard operation
MiniGPT-4 copied to clipboard

error in run demo

Open bbinglongg opened this issue 1 year ago • 1 comments

hello high hand, i follow the guiline to deploy and run in local. but in below command, show error: command: python demo.py --cfg-path eval_configs/minigpt4_eval.yaml --gpu-id 0 error: usage: demo.py [-h] --cfg-path CFG_PATH [--options OPTIONS [OPTIONS ...]] demo.py: error: unrecognized arguments: --gpu-id 0

is it some wrong in my local config?

bbinglongg avatar Apr 23 '23 02:04 bbinglongg

i found the issue, below command is wrong: python demo.py --cfg-path eval_configs/minigpt4_eval.yaml --gpu-id 0

correct one is: python demo.py --cfg-path eval_configs/minigpt4_eval.yaml --gpu_id 0

bbinglongg avatar Apr 23 '23 15:04 bbinglongg