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

sh train_scripts/causal_qformer.sh is not working! #37

Open
leedaehan-kev opened this issue Apr 7, 2024 · 1 comment
Open

sh train_scripts/causal_qformer.sh is not working! #37

leedaehan-kev opened this issue Apr 7, 2024 · 1 comment

Comments

@leedaehan-kev
Copy link

Traceback (most recent call last):
File "train.py", line 16, in
import lavis.tasks as tasks
File "/home/datai/daehan/SEED/SEED_Tokenizer/lavis/init.py", line 16, in
from lavis.models import *
File "/home/datai/daehan/SEED/SEED_Tokenizer/lavis/models/init.py", line 34, in
from lavis.models.blip2_models.blip2 import Blip2Base
File "/home/datai/daehan/SEED/SEED_Tokenizer/lavis/models/blip2_models/blip2.py", line 26, in
from lavis.models.clip_vit import create_clip_vit_L,create_clip_vit_B,create_beit2_tokenizer,create_vit_mage
File "/home/datai/daehan/SEED/SEED_Tokenizer/lavis/models/clip_vit.py", line 15, in
from lavis.models.blip2_models.beit2 import modeling_vqkd
ModuleNotFoundError: No module named 'lavis.models.blip2_models.beit2'

The error "No module named 'lavis.models.blip2_models.beit2'" continuously occurs with BLIP2. If I comment it out, the code doesn't import correctly, leading to concerns about conflicts within the environment. Can you provide a solution?

@laiyingxin2
Copy link

same question~

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