PANXiao1994 / mRASP2

120 stars 25 forks source link

An error occurred during model inference #8

Closed liuwanyue868 closed 2 years ago

liuwanyue868 commented 3 years ago

I am using the new version. There was an error in the model inference stage. The model used 12e12d_no_mono.pt, the data used the test set binary file provided by you, and other configuration files were reconfigured according to examples/configs/biginfer. File "XXX/lib/python3.7/site-packages/fairseq/checkpoint_utils.py", line 420, in _upgrade_state_dict state["args"].task = "translation" AttributeError: 'NoneType' object has no attribute 'task'

PANXiao1994 commented 3 years ago

Hello. This is due to the version of fairseq.