Blip model is not accessible

Hello
I am trying to use BLIP model but , I am getting following error:
annot import name ‘BlipProcessor’ from ‘transformers’ (/local_disk0/.ephemeral_nfs/envs/pythonEnv-a92c2f7a-2344-4ccc-988c-2ed4feb92bee/lib/python3.9/site-packages/transformers/init.py)

when I run the following line:
from transformers import BlipProcessor, BlipForConditionalGeneration

I have installed:
transformers== 4.25.1

best

Hi @Shahabhm

blip has not been released yet in transformers via pypi, therefore you need to install transformers from source to use blip:

pip uninstall transformers
pip install git+https://github.com/huggingface/transformers.git@main

Thanks!