Giter VIP home page Giter VIP logo

Comments (8)

zhidaoai avatar zhidaoai commented on May 11, 2024

python faceswap.py gui
First time configuration. Please select the required backend
1: CPU, 2: DIRECTML, 3: NVIDIA, 4: APPLE SILICON, 5: ROCM: 3
Faceswap config written to: /data/xu/faceswap/config/.faceswap
Setting Faceswap backend to NVIDIA
Traceback (most recent call last):
File "/data/xu/faceswap/faceswap.py", line 12, in
from lib.cli import args as cli_args # pylint:disable=wrong-import-position
File "/data/xu/faceswap/lib/cli/args.py", line 18, in
from .actions import (DirFullPaths, DirOrFileFullPaths, DirOrFilesFullPaths, FileFullPaths,
File "/data/xu/faceswap/lib/cli/actions.py", line 49, in
class FileFullPaths(_FullPaths):
File "/data/xufaceswap/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'

from faceswap.

zhidaoai avatar zhidaoai commented on May 11, 2024

No display detected. GUI mode has been disabled.

from faceswap.

torzdf avatar torzdf commented on May 11, 2024

Your Python version is too old. Use the installer in releases and you will not have this problem.

from faceswap.

zhidaoai avatar zhidaoai commented on May 11, 2024

install python=3.10.13, but

python faceswap.py gui
Setting Faceswap backend to NVIDIA
02/01/2024 09:34:35 INFO     Log level set to: INFO
02/01/2024 09:34:37 ERROR    No display detected. GUI mode has been disabled.

from faceswap.

torzdf avatar torzdf commented on May 11, 2024

Use the installer.

We do not support custom install paths.

https://github.com/deepfakes/faceswap/releases

from faceswap.

zhidaoai avatar zhidaoai commented on May 11, 2024

GPU single , nvidia T4, Linux/Centos service

from faceswap.

torzdf avatar torzdf commented on May 11, 2024

This makes no difference to me.

Either you know what you are doing with Python and can troubleshoot issues yourself, in which case by all means, install how you see fit.

Otherwise, you do not know how to troubleshoot these issues yourself and need help. In these instances we will only provide support if you use our installers.

It is too much of a burden to support anyone's and everyone's esoteric custom installation methods.

There is an installer for Linux at the link I posted above.

from faceswap.

zhidaoai avatar zhidaoai commented on May 11, 2024

i tried the bash ./faceswap_setup_x64.sh
bug got

ERROR   This install script should not be run with root privileges. Please
ERROR   run as a normal user.

from faceswap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.