GRUV icon indicating copy to clipboard operation
GRUV copied to clipboard

python convert_directory.py

Open odomojuli opened this issue 7 years ago • 6 comments

Can't convert test.mp3

Traceback (most recent call last): File "convert_directory.py", line 1, in from data_utils.parse_files import * File "/Users/odomojuli/GRUV/data_utils/parse_files.py", line 124 print 'Processing: ', (file_idx+1),'/',num_files

odomojuli avatar Oct 25 '17 00:10 odomojuli

That doesn't look like the entirety of the error output. Could you post the whole thing?

bgroenks96 avatar Oct 29 '17 23:10 bgroenks96

I am guessing this is the same error I had. I used 'python3' instead of 'python'. If that's the case you can either: Use 'python' to run or attempt to convert the files to python3.

BenAsaf avatar Dec 13 '17 16:12 BenAsaf

Im experiencing the same issue. Im using anaconda with python3.

vgcapizzi avatar Feb 24 '18 00:02 vgcapizzi

Again, I can't really help without seeing more output. If that really is the entirety of the error message, add -d and maybe -v to make python tell you more.

bgroenks96 avatar Feb 26 '18 03:02 bgroenks96

I got the program convert_directory.py to run in a python2 environment that I made in anaconda3. The code exclusively works with python2. The issue im having now is running the python2 environment to run the code and run the tensorflow environment to supply the backend. Does anyone know if I can run both environments at the same time to run train.py?

vgcapizzi avatar Feb 26 '18 15:02 vgcapizzi

The error is likely this, as I am currently getting it: (Edit: The caret is pointing at the quote after "Processing:")

Traceback (most recent call last): File "convert_directory.py", line 1, in from data_utils.parse_files import * File "C:\GRUV\data_utils\parse_files.py", line 124 print 'Processing: ', (file_idx+1),'/',num_files ^ SyntaxError: invalid syntax

CygnusiaX1 avatar May 15 '19 12:05 CygnusiaX1