MakeItTalk
MakeItTalk copied to clipboard
tmp.wav file missing?
When I run the two jupyter notebooks, or even main_end2end.py
, I get the following error:
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
<ipython-input-7-fc3b009acf6e> in <module>
76 for ain in ains:
77 os.system('ffmpeg -y -loglevel error -i examples/{} -ar 16000 examples/tmp.wav'.format(ain))
---> 78 shutil.copyfile('examples/tmp.wav', 'examples/{}'.format(ain))
79
80 # au embedding
c:\users\admin\appdata\local\programs\python\python37\lib\shutil.py in copyfile(src, dst, follow_symlinks)
118 os.symlink(os.readlink(src), dst)
119 else:
--> 120 with open(src, 'rb') as fsrc:
121 with open(dst, 'wb') as fdst:
122 copyfileobj(fsrc, fdst)
FileNotFoundError: [Errno 2] No such file or directory: 'examples/tmp.wav'
Where can I find this tmp.wav
file?
I meet the same error.And I find if I run the ffmpeg -y -loglevel error -i examples/{} -ar 16000 examples/tmp.wav'.format(ain) in the terminal, there will generate the tmp.wav. But I don't know why it cannot work in file