Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[songmass] SongMASS Melody infer error #188

Open
hsuxiang opened this issue Jan 31, 2024 · 2 comments
Open

[songmass] SongMASS Melody infer error #188

hsuxiang opened this issue Jan 31, 2024 · 2 comments

Comments

@hsuxiang
Copy link

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
Copy link

Me too! I'm facing the same question

@liuhanzuo
Copy link

I've fixed this, see #172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants