I follow the instructions of SongMASS's readme and run melody 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'
I follow the instructions of SongMASS's readme and run melody 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'