You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I follow the instructions of SongMASS's readme and run lyrics infer. but get the error as below:
File "C:\Users\iMusic\AppData\Local\Programs\Python\Python38\lib\site-packages\fairseq_cli\generate.py", line 90, in _main
tgt_dict = task.target_dictionary
File "F:\muzic\songmass\mass\xmasked_seq2seq.py", line 504, in target_dictionary
return self.dicts[self.args.eval_lang_pair.split('-')[1]]
AttributeError: 'XMassTranslationTask' object has no attribute 'args'
My OS is Windows 10 and the python version is 3.8
The text was updated successfully, but these errors were encountered:
I follow the instructions of SongMASS's readme and run lyrics infer. but get the error as below: File "C:\Users\iMusic\AppData\Local\Programs\Python\Python38\lib\site-packages\fairseq_cli\generate.py", line 90, in _main tgt_dict = task.target_dictionary File "F:\muzic\songmass\mass\xmasked_seq2seq.py", line 504, in target_dictionary return self.dicts[self.args.eval_lang_pair.split('-')[1]] AttributeError: 'XMassTranslationTask' object has no attribute 'args'
My OS is Windows 10 and the python version is 3.8
Hello, have you fixed the problem yet? Cause I am in the same situation. Thank you a lot.
you should add self.args=args at the init() part
Meanwhile, you may also face the problem of "No module named TransformerDecoderLayer", you can fix this by changing fairseq.model.transformer into fairseq.module.transformer
I follow the instructions of SongMASS's readme and run lyrics infer. but get the error as below:
File "C:\Users\iMusic\AppData\Local\Programs\Python\Python38\lib\site-packages\fairseq_cli\generate.py", line 90, in _main
tgt_dict = task.target_dictionary
File "F:\muzic\songmass\mass\xmasked_seq2seq.py", line 504, in target_dictionary
return self.dicts[self.args.eval_lang_pair.split('-')[1]]
AttributeError: 'XMassTranslationTask' object has no attribute 'args'
My OS is Windows 10 and the python version is 3.8
The text was updated successfully, but these errors were encountered: