Open magicwang1111 opened 1 year ago
It's you not pull the newest?
run "git pull"?
i have same error
Hello! We updated the code yesterday to include the new argument 'gpu-id' that can specify the cuda device. Can you try to pull the latest code and have a try? thank you!
glad to know it is getting fixed. As a workaround
export CUDA_VISIBLE_DEVICES=0 && python demo.py --cfg-path eval_configs/minigpt4_eval.yaml
(minigpt4_v2) F:\MiniGPT-4>python demo.py --cfg-path eval_configs/minigpt4_eval.yaml --gpu-id 0 Initializing Chat usage: demo.py [-h] --cfg-path CFG_PATH [--options OPTIONS [OPTIONS ...]] demo.py: error: unrecognized arguments: --gpu-id 0
gpu:4090 can't run