sczhou/CodeFormer

图片可以,视频总是提示错误

garyzhao1 opened this issue · 1 comments

D:\ProgramData\anaconda3\CodeFormer>python inference_codeformer.py --bg_upsampler realesrgan --face_upsample -w 0.8 --input_path E:\shipin
Traceback (most recent call last):
File "D:\ProgramData\anaconda3\CodeFormer\inference_codeformer.py", line 116, in
raise FileNotFoundError('No input image/video is found...\n'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: No input image/video is found...
Note that --input_path for video should end with .mp4|.mov|.avi

已经安装了ffmpeg了

出现这种错误,其实只要在路径那里改成E:\shipin\1.mp4,这里的1.mp4是你的音频文件名,一定要对号入座,切记不要用中文名称。再重新运行就不会报错了。