Closed DatanIMU closed 1 year ago
ubuntu 18.04 cuda 11.3 Could give me some tips?
Environment setups are updated in the readme, please refer to it. Hope this can help.
thanks, missing scipy, and must install numpy 1.20.0
it works.
if you have time, please give me some tips to inference midi files from internet. now it reports some Chord error.
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