Skip to content
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

I can't run convert_directory.py successfully #32

Open
Hiurge opened this issue Sep 19, 2017 · 1 comment
Open

I can't run convert_directory.py successfully #32

Hiurge opened this issue Sep 19, 2017 · 1 comment

Comments

@Hiurge
Copy link

Hiurge commented Sep 19, 2017

python /home/l/GRUV-master/convert_directory.py
Traceback (most recent call last):
File "/home/l/GRUV-master/convert_directory.py", line 13, in
new_directory = convert_folder_to_wav(input_directory, freq)
File "/home/l/GRUV-master/data_utils/parse_files.py", line 56, in convert_folder_to_wav
for file in os.listdir(directory):
OSError: [Errno 2] No such file or directory: './datasets/YourMusicLibrary/'

Any ideas what i can do?(Ubuntu, Mint18) Program looks cool.

@ianni67
Copy link

ianni67 commented Sep 22, 2017

Do you actually have a datasets/YouMusicLibrary directory in your GRUV directory?
Does such directory actually contain the "Test.mp3" file?
If the directory and the file are there, then it looks like you've got some misconfiguration in your shell. Try setting the whole absolute path of the dataset directory (instead of ./dataset...) in the config/nn_config.py file (raw 12). If this error disappears, then you've definitely got something wrong in the shell configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants