0

每当我运行此命令时:

python demo.py --config config/vox-adv-256.yaml --driving_video driving.mp4 --source_image source.png --checkpoint vox-adv-cpk.pth.tar --relative --adapt_scale --cpu

我收到此错误:

Traceback (most recent call last):   File "demo.py", line 132, in <module>
    reader = imageio.get_reader(opt.driving_video)   File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\imageio\core\functions.py", line 129, in get_reader
    return format.get_reader(request)   File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\imageio\core\format.py", line 168, in get_reader
    return self.Reader(self, request)   File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\imageio\core\format.py", line 217, in __init__
    self._open(**self.request.kwargs.copy())   File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\imageio\plugins\ffmpeg.py", line 319, in _open
    self._exe = self._get_exe()   File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\imageio\plugins\ffmpeg.py", line 281, in _get_exe
    cls._exe = cls._exe or get_exe()   File "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\imageio\plugins\ffmpeg.py", line 121, in get_exe
    raise NeedDownloadError('Need ffmpeg exe. ' imageio.core.fetching.NeedDownloadError: Need ffmpeg exe. You can obtain it with either:
  - install using conda: conda install ffmpeg -c conda-forge
  - download using the command: imageio_download_bin ffmpeg
  - download by calling (in Python): imageio.plugins.ffmpeg.download()

请帮忙!

4

0 回答 0