facebookresearch / vilbert-multi-task

Multi Task Vision and Language
MIT License
797 stars 180 forks source link

About how to run the demo #91

Open TSorzZZ opened 3 years ago

TSorzZZ commented 3 years ago

when i run the demo at ViLBERT part,an error occurs:

FileNotFoundError: [Errno 2] No such file or directory: 'save/resnext_models/e2e_faster_rcnn_X-152-32x8d-FPN_1x_MLP_2048_FPN_512_train.yaml'

I find that I don't have the "save" folder,The "model_final.pth" and "e2e_faster_rcnn_X-152-32x8d-FPN_1x_MLP_2048_FPN_512_train.yaml" also in this folder,which is needed for FeatureExtractor.

How can I get this two file(or the whole folder?)

HireTheHero commented 3 years ago

I found the config file with same name in the repository mentioned in #6 , and a script for generating checkpoint. However I'm also curious about more official answer if exists.

TSorzZZ commented 3 years ago

I found the config file with same name in the repository mentioned in #6 , and a script for generating checkpoint. However I'm also curious about more official answer if exists.

Thanks for helping,I got the yaml file in maskrcnn-benchmark,But I can only find correspond model file in https://github.com/facebookresearch/Detectron/blob/master/MODEL_ZOO.md#person-specific-rpn-baselines but its format is .pkl not .pth, did anyone got the model_final.pth? plz tell me how to get this model_final.pth, I will be really grateful!

HireTheHero commented 3 years ago

did anyone got the model_final.pth?

Can this script be used as reference? I used like this