Closed bbbmusic closed 6 years ago
I solved this issue by replacing all relative paths to absolute paths, like
python3 deepBach.py -l 100
to
python3 absoulute/path/to/deepBach.py -l 100
There are now some other issues and errors, but it's a hopeful starting point.
Thanks! And sorry for the late answer.
Hello Gaetan,
for installation on a mac, I followed the instructions of http://hansekbrand.se/code/DeepBachOSX.html and this seemed to work. Except I had to install tensorflow1.8 because it didn't find the recommended version 1.5. Also I had to install not the latest version of python, which is now 3.7 but 3.6. After that, all the dependencies were installed without any error. Fine, so far.
But when I run:
python3 -m flask run --host=0.0.0.0
I got the following python related error, which is well discussed in the web, but I'm unable solve it: "ImportError: attempted relative import with no known parent package". I copied the whole terminal message, but the interesting part is the second half :
and here is what i did, one after another:
the last message triggers the error.
Here is the structure of my deepbach installation: