Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'NoneType' object has no attribute 'is_loaded' #73

Open
sykuann opened this issue Mar 19, 2024 · 1 comment
Open

AttributeError: 'NoneType' object has no attribute 'is_loaded' #73

sykuann opened this issue Mar 19, 2024 · 1 comment

Comments

@sykuann
Copy link

sykuann commented Mar 19, 2024

File "/mnt/llmdownloads/LLaMA-VID/llamavid/model/builder.py", line 92, in load_pretrained_model
if not vision_tower.is_loaded:
AttributeError: 'NoneType' object has no attribute 'is_loaded'

python -m llamavid.serve.cli --model-path /mnt/llmdownloads/LLaMA-VID/llamavid/work_dirs/llama-vid-7b-full-224 --image-file /mnt/llmdownloads/LLaMA-VID/AI_crypto_trade_scam.mp4 --temperature 0.5

Error arises when run code.

@yanwei-li
Copy link
Member

Hi, it seems this issue could casued by this line, please check this and make sure the CLIPVisionTower in llamavid/model/multimodal_encoder/clip_encoder.py is normally loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants