Error running MiniGPT-v2 demo code
Author: YangJae96Created Mar 25, 2025Updated Mar 25, 2025
Hi. Thanks for great work!
I tired to run below command.
python demo_v2.py --cfg-path eval_configs/minigptv2_eval.yaml --gpu-id 0but facing below problem.
OSError: /root/.llama/checkpoints/Llama-2-7b-chat does not appear to have a file named config.json. Checkout 'https://huggingface.co//root/.llama/checkpoints/Llama-2-7b-chat/None' for available files.
I've locally downloaded the Llama 2 Chat 7B model through
pip install llama-stack
llama model list --show-all
llama model download --source meta --model-id Llama-2-7b-chatI've followed the instruction in README and changed the path of the llama_model model.
For MiniGPT-v2, set the LLM path here at Line 14.
I think this issues has been raised few times. But I can't find the solution. Can anyone please help?!
Source: Vision-CAIR/MiniGPT-4