Coder Social home page Coder Social logo

SongMASS lyrics infer error about muzic HOT 2 OPEN

iMusicDorian avatar iMusicDorian commented on June 1, 2024
SongMASS lyrics infer error

from muzic.

Comments (2)

hsuxiang avatar hsuxiang commented on June 1, 2024

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.

from muzic.

liuhanzuo avatar liuhanzuo commented on June 1, 2024

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

from muzic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.