Closed JoshuaPlacidi closed 3 years ago
Hi! Thanks for using mmf 😄
Try adding: evaluation.predict=true
in the command of mmf_run. Adding this converts the command to mmf_predict
Feel free to refer to the tutorial on BUTD on here to see how to run predict.
❓ Questions and Help
I ran the command in windows cmd:
mmf_run config=projects/hateful_memes/configs/unimodal/image.yaml model=unimodal_image dataset=hateful_memes
While training I got the following warning every time a checkpoint was saved:
WARNING 2020-11-23T20:36:26 | py.warnings: c:\python38\lib\site-packages\torch\optim\lr_scheduler.py:200: UserWarning: Please also save or load the state of the optimzer when saving or loading the scheduler. warnings.warn(SAVE_STATE_WARNING, UserWarning)
The model started inference on test set but failed with multiple warnings:
The same happens when I try to
run_type=inference
on the trained model