fairseq: AttributeError: 'NoneType' object has no attribute 'task'
Hi, when i try to generate translation from trained mode with command:
fairseq-interactive output --path checkpoints/fconv/checkpoint1.pt --beam 5 --cpu --task translation --optimizer sgd
I get error:
AttributeError: 'NoneType' object has no attribute 'task'
I tried this on Ubunu 20.04, Google Colab and i get the same error. I am using the newest version of fairseq
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 6
- Comments: 15
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!
I managed to solve this by installing Fairseq via the Github Repo rather than via Pip Install.