lckj2009
lckj2009
this is my pip list: accelerate 0.24.1 aiofiles 23.2.1 aiohttp 3.8.4 aiosignal 1.3.1 altair 5.2.0 annotated-types 0.6.0 antlr4-python3-runtime 4.9.3 anyio 3.7.1 appdirs 1.4.4 argon2-cffi 23.1.0 argon2-cffi-bindings 21.2.0 arrow 1.3.0 asttokens...
this is my Weight files, The following figure: 
this is my /root/MiniGPT-5/config/minigpt4.yaml: model: arch: minigpt5 model_type: pretrain_vicuna freeze_vit: True freeze_qformer: True max_txt_len: 160 end_sym: "###" prompt_path: "" prompt_template: '###Human: {} ###Assistant: ' ckpt: '/root/MiniGPT-5/config/prerained_minigpt4_7b.pth' using_lora: True datasets: cc_sbu_align:...
this is my /root/MiniGPT-5/minigpt4/configs/models/minigpt4.yaml: model: arch: mini_gpt4 # vit encoder image_size: 224 drop_path_rate: 0 use_grad_checkpoint: False vit_precision: "fp16" freeze_vit: True freeze_qformer: True # Q-Former num_query_token: 32 # Vicuna llama_model: "/root/vicuna-7b-v1.1"...
this is my /root/vicuna-7b-v1.1, The following figure: 
Including "Vicuna-7b-v1.1" is all good. The path and configuration file are fine, but why is there still such an error. My pip "torch=2.0.1, lighting=2.0.9.post0"
May I ask which file has line 67?/root/MiniGPT-5/model.py 67 line? 
> Yes Please wait a moment, I need to set up a debugging environment
File "/root/MiniGPT-5/model.py", line 68, in __init__ print('minigpt4_config.model_cfg.image_size' + str(minigpt4_config.model_cfg.image_size)) File "/root/anaconda3/envs/minigpt5/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 355, in __getattr__ self._format_and_raise( File "/root/anaconda3/envs/minigpt5/lib/python3.9/site-packages/omegaconf/base.py", line 231, in _format_and_raise format_and_raise( File "/root/anaconda3/envs/minigpt5/lib/python3.9/site-packages/omegaconf/_utils.py", line 899, in format_and_raise _raise(ex,...
File "/root/MiniGPT-5/minigpt4/models/eva_vit.py", line 190, in init num_patches = (img_size[1] // patch_size[1]) * (img_size[0] // patch_size[0]) TypeError: unsupported operand type(s) for //: 'NoneType' and 'int' Because these errors were executed first,...