microsoft / muzic

Muzic: Music Understanding and Generation with Artificial Intelligence
MIT License
4.46k stars 433 forks source link

[songmass] SongMASS Melody infer error #188

Open hsuxiang opened 7 months ago

hsuxiang commented 7 months ago

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'

liuhanzuo commented 5 months ago

Me too! I'm facing the same question

liuhanzuo commented 5 months ago

I've fixed this, see #172