facebookresearch / mmf

A modular framework for vision & language multimodal research from Facebook AI Research (FAIR)
https://mmf.sh/
Other
5.48k stars 934 forks source link

[hateful memes] loading pretrained model does not work #943

Open harkiratbehl opened 3 years ago

harkiratbehl commented 3 years ago

At the end of readme in hateful memes, it says: Loading pretrained model in your code It is also possible to load a pretrained model directly in your code

But when I run that code for a model I trained, I get this error: AttributeError: 'dict' object has no attribute direct_features_input

vedanuj commented 3 years ago

Can you provide the full stack trace of the error?