pharmapsychotic/clip-interrogator

[Errno 111] Connection refused when i Loading BLIP model...

Q1ngS0ng opened this issue · 1 comments

what should i do if I want to download the BLIP model by hand.

set BLIP_MODELS in site-packages/clip_interrogator/clip_interrogator.py to your local path.
such as:
BLIP_MODELS = { # 'base': 'https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_caption_capfilt_large.pth', # 'large': 'https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_large_caption.pth', 'base': '/root/anaconda3/envs/python38/lib/python3.8/site-packages/blip/models/cache/model_base_caption_capfilt_large.pth', 'large': '/root/anaconda3/envs/python38/lib/python3.8/site-packages/blip/models/cache/model_large_caption.pth' }