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

Demo bugs #3

Closed
rainbow979 opened this issue Mar 30, 2020 · 6 comments
Closed

Demo bugs #3

rainbow979 opened this issue Mar 30, 2020 · 6 comments

Comments

@rainbow979
Copy link

Hi, I re-trained the model, but I have bugs in get_demo.py.
image

And how could I generate a gif? Thanks a lot.

@rainbow979
Copy link
Author

The bug is:
File "get_demo.py", line 100, in
write(output_dir+"/audio/{}.wav".format(i),16000,scaled)
File "/opt/anaconda3/lib/python3.7/site-packages/scipy/io/wavfile.py", line 328, in write
fid = open(filename, 'wb')
FileNotFoundError: [Errno 2] No such file or directory: './demo/audio/1.wav

@xrenaa
Copy link
Owner

xrenaa commented Mar 31, 2020

Maybe you need to create a folder "audio" in the demo folder.

@xrenaa
Copy link
Owner

xrenaa commented Mar 31, 2020

And for the gif, you can first make an mp4 by running the sh file and then transfer it to gif by searching on google.

@rainbow979
Copy link
Author

Thanks a lot. I solved by change the path.

@xiaomingguohe
Copy link

Thanks a lot. I solved by change the path.

some problem,how solve?

@datar001
Copy link

Thanks a lot. I solved by change the path.

some problem,how solve?

Maybe the input is an absolute path instead of a relative path

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

4 participants