wybertwang's picture
Upload 78 files
c426a27
|
raw
history blame
414 Bytes

To run BLIP/BLIP2, you should install transformers from source!

!pip install git+https://github.com/huggingface/transformers.git

To run filter module, you should install CLIP repo as a Python package as follow:

!pip install ftfy regex tqdm
!pip install git+https://github.com/openai/CLIP.git

To accelerate BLIP2 with int8, you should install accelerate

!pip install accelerate bitsandbytes