salesforce / LAVIS

LAVIS - A One-stop Library for Language-Vision Intelligence

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compatibility Issue with Different Versions of Transformers

aichy98 opened this issue · comments

Hello LAVIS team,

I've encountered an issue when trying to import models from the model zoo using different versions of the transformers library. Specifically, I've tried using transformers version 4.33.2 as well as other versions, but in each case, I encountered errors during the import process with the following line of code:
from lavis.models import model_zoo
Could you please specify the correct version of the transformers library that is compatible with the current version of LAVIS? This information would be extremely helpful for setting up the environment properly and avoiding compatibility issues.

Thank you for your assistance.