salesforce / BLIP

PyTorch code for BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation
BSD 3-Clause "New" or "Revised" License
4.86k stars 648 forks source link

BLIP stopped working! #105

Closed MalumaDev closed 2 years ago

MalumaDev commented 2 years ago

Interrogate doesn't work anymore:

ValueError: The following `model_kwargs` are not used by the model: ['encoder_hidden_states', 'encoder_attention_mask'] (note: typos in the generate arguments will also show up in this list)
MalumaDev commented 2 years ago

Problem related to the latest version of the transformers library. A downgrade solves the problem.