Open NiloufarAb opened 6 months ago
Thanks for your question! Could you provide more details about the bug, such as the full log?
I think this is caused by you using a different wget
, one that interprets the ./pretrained_models/tag2text_swin_14m.pth
path as another url to download from.
A fix is to explicitly specify that the second path is the output directory.
mkdir ./pretrained_models
wget -O ./pretrained_models/tag2text_swin_14m.pth https://huggingface.co/spaces/xinyu1205/Tag2Text/resolve/main/tag2text_swin_14m.pth
wget -O ./pretrained_models/grit_b_densecap_objectdet.pth https://datarelease.blob.core.windows.net/grit/models/grit_b_densecap_objectdet.pth
Hello, I downloaded both models using the provided commands :
ViT: wget https://storage.googleapis.com/sfr-vision-language-research/LAVIS/models/BLIP2/eva_vit_g.pth QFormer: wget https://storage.googleapis.com/sfr-vision-language-research/LAVIS/models/BLIP2/blip2_pretrained_flant5xxl.pth However, keep getting the "RuntimeError: checkpoint url or path is invalid" error for q model.