pharmapsychotic / clip-interrogator

Image to prompt with BLIP and CLIP
MIT License
2.67k stars 433 forks source link

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

Closed Q1ngS0ng closed 1 year ago

Q1ngS0ng commented 1 year ago

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

Q1ngS0ng commented 1 year ago

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'

} `