Open Aerny opened 5 years ago
I tried to open it with terminal, firing up a python file: The way I think is wrong I assume, but this is the way I think it may be most intuitive way, but it didn't work out the way I want it. Please help ;-)
mac-pro-van-arnold-veeman:~ arnoldveeman$ cd /Users/arnoldveeman/DeepBach
mac-pro-van-arnold-veeman:DeepBach arnoldveeman$ python3 -u deepBach.py
Traceback (most recent call last):
File "deepBach.py", line 7, in
Thanks in advanced!
Okay, well... I spent my hours trying to get it up and running for today . . . If you read this can you or anyone else that knows how this works explain it to me? (I know I sound like a savage . . . but it becomes a bit frustrating to try out so many things and not get things done properly. I just don't understand how it works. Starting to, but I am not nearly there)
Hi Arnold,
Have you run the installation commands?
If so, the latest error might come from the fact you need to go into the deepbach_pytorch environment.
(This is done automatically the first time you create the environment but you have to run
conda activate deepbach_pytorch
each time you open a new terminal)
Then the "No module named 'torch'" should disappear.
But for musescore, you need to launch the
python musescore_flask_server.py
command.
Normally, you should be able to select a region in musescore and click on compose in the plugin.
Depending on your needs, maybe you would like to check the Usage with NONOTO (https://github.com/SonyCSLParis/NONOTO) part.
Keep me updated! Bets
Hi Gaëtan, thanks for your reply! I can't find deepbach_pytorch in any directory so I can't fire it up. Will try the entire sequence once again.
Last login: Tue Jul 9 18:15:46 on ttys000 mac-pro-van-arnold-veeman:~ arnoldveeman$ git clone git@github.com:SonyCSL-Paris/DeepBach.git fatal: destination path 'DeepBach' already exists and is not an empty directory. mac-pro-van-arnold-veeman:~ arnoldveeman$ cd DeepBach mac-pro-van-arnold-veeman:DeepBach arnoldveeman$ conda env create --name deepbach_pytorch -f environment.yml Solving environment: failed
ResolvePackageNotFound:
mac-pro-van-arnold-veeman:DeepBach arnoldveeman$ bash dl_dataset_and_models.sh dl_dataset_and_models.sh: line 2: wget: command not found tar: Error opening archive: Failed to open 'deepbach_pytorch_resources.tar.gz' mv: rename resources/dataset_cache to DatasetManager/dataset_cache: No such file or directory mv: rename resources/models to ./models: No such file or directory rm: resources: No such file or directory mac-pro-van-arnold-veeman:DeepBach arnoldveeman$
I really don't understand it...
I tried to fire it up by using the 4 commands: 1 - git clone git@github.com:SonyCSL-Paris/DeepBach.git (probably to get the files from a server in Paris) 2 - cd DeepBach (to get into the Deepbach directory) 3 - conda env create --name deepbach_pytorch -f environment.yml (to create some sort of an environment to get the entire thing started) 4 - bash dl_dataset_and_models.sh (and to download the models that would drive the database)
What I would really like to see is a step by step method start your software up? I hope you understand what I mean?
p.s. and also; when I try to create the python file musescore_flask_server.py it says that there is no module named 'tqdm'. I don't know what that means, but it seems to me that there is no reference to that 'tqdm' file in the musescore_flask_server.py file?
Traceback (most recent call last):
File "musescore_flask_server.py", line 12, in
Hi Gaëtan, Last year you replied on a comment of me on your YouTube video. This is what I wrote:
Dear Gaëtan, can you make a comprehensive, step by step video on how to install this wonderful invention of yours? I think I almost got it, but for instance - when I paste this code into Terminal:
shell sudo apt install musescore python -c 'import music21; music21.environment.set("musicxmlPath", "/usr/bin/musescore")
I get all kinds of error messages:
apt: invalid flag: install Usage: apt
I really want to be able to try this out. Already I got it open in Musescore, but I could not do much for it gave this Parse error:
Debug: on run called Debug: calling endpoint models Debug: SyntaxError: JSON.parse: Parse error
Probably I need to call some files from somewhere else, but I don't know how to do this. Once explained properly I will never forget it ;-)
So, can you take the effort? That would be wonderful! Thank you in advanced. Sincerely, Arnold Veeman