-
Notifications
You must be signed in to change notification settings - Fork 454
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
[getmusic] promot cannot import name 'RoFormerPreTrainedModel' #132
Comments
ubuntu 18.04 |
Environment setups are updated in the readme, please refer to it. Hope this can help. |
thanks, missing scipy, it works. if you have time, please give me some tips to inference midi files from internet. |
two questions:
|
Please show me more detailed chord error. Note that in MIDI, an instrument is referred to as a program, and each program is assigned a unique number. You can find a comprehensive list of program numbers at this link: https://midiprog.com/program-numbers/. For instance, according to the table on that webpage, 'Acoustic Grand Piano' is assigned program number 1, while 'Bright Acoustic Piano' is assigned program number 2, even though both instruments are pianos. In GETMusic, we default to using 'Acoustic Grand Piano,' which corresponds to program number 0 in our code, since we start counting from 0 while in the linked table, the numbering starts from 1. As another example, when we mention '80':lead melody, it means that the lead melody should be played using the 'Square Lead' instrument, which is the 81st program listed in the link. The chord error you encountered is likely due to the fact that neither track in your input MIDI file corresponds to a program number supported by GETMusic. As a result, all tracks are filtered out. Since GETMusic doesn't receive any input and chord guidance is enabled by default, it cannot infer chords and raises an error. To address this issue, you have two options: you can modify the input processing in the code or adjust the program number in your input MIDI file. I hope this response addresses your first question. |
Thanks for your reply, I will raise a new topic to discuss in order to let more people know. |
(base) avr@avr-Alienware-17-R3:~/Downloads/muzic/getmusic$ conda create --name CVBR --file requirements.txt
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page
The text was updated successfully, but these errors were encountered: