Closed jithendray closed 4 years ago
Can you try removing the \ from the command and try again? Also you should enable GPU runtime in your colab.
I enabled GPU on the runtime, and which \ should I remove? There are many!
and why is this showing up? Device specified is 'cuda' but cuda is not present. Switching to CPU version. + "Switching to CPU version
Also there is no folder like this - /usr/local/lib/python3.6/dist-packages/mmf/utils/configuration
in my laptop - there is python3.8 instead of 3.6
Try this
!mmf_predict config=projects/hateful_memes/configs/mmbt/defaults.yaml model=mmbt dataset=hateful_memes run_type=test checkpoint.resume_zoo=mmbt.hateful_memes.images training.batch_size=16
Are you running this on colab or your own laptop?
Try this
!mmf_predict config=projects/hateful_memes/configs/mmbt/defaults.yaml model=mmbt dataset=hateful_memes run_type=test checkpoint.resume_zoo=mmbt.hateful_memes.images training.batch_size=16
This worked now, thanks. I am using colab.
❓ Questions and Help
!mmf_predict config=projects/hateful_memes/configs/mmbt/defaults.yaml \ model=mmbt \ dataset=hateful_memes \ run_type=test \ checkpoint.resume_zoo=mmbt.hateful_memes.images \ training.batch_size=16
When I am running this colab notebook provided - I am getting this error: