Import error
Thanks for your great work! I've done preparations according to your instructions, but when I run "bash scripts/train.sh", there are several packages not in the environment such as peft and positional_encoding. Besides, it also raises the error “ from lavis.models.blip2_models.osrt.layers import SlotAttention, MLP, MultiheadCrossAttention, MultiheadSelfAttention, MultiheadCrossAttentionText ImportError: cannot import name 'MultiheadCrossAttention' from 'lavis.models.blip2_models.osrt.layers' (/data/ELM-main/lavis/models/blip2_models/osrt/layers.py)".
Have fixed the import bugs.
I face the same issue. In the main branch, this issue hasn't been solved.