I fetch faceswap use
Code: Select all
git clone https://github.com/deepfakes/faceswap.git
, and run
Code: Select all
pip install -r ./requirements/_requirements_base.txt
pip install -r ./requirements/requirements_nvidia.txt
then
Code: Select all
python faceswap.py gui
, appear:
Setting Faceswap backend to NVIDIA
Traceback (most recent call last):
File "/home/mc3/faceswap/faceswap.py", line 12, in <module>
from lib.cli import args as cli_args # pylint:disable=wrong-import-position
File "/home/mc3/faceswap/lib/cli/args.py", line 18, in <module>
from .actions import (DirFullPaths, DirOrFileFullPaths, DirOrFilesFullPaths, FileFullPaths,
File "/home/mc3/faceswap/lib/cli/actions.py", line 49, in <module>
class FileFullPaths(_FullPaths):
File "/home/mc3/faceswap/lib/cli/actions.py", line 72, in FileFullPaths
def init(self, *args, filetypes: str | None = None, **kwargs) -> None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
What's problem, how to solve it?