Closed zhidaoai closed 10 months ago
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
No display detected. GUI mode has been disabled.
Your Python version is too old. Use the installer in releases and you will not have this problem.
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.
Use the installer.
We do not support custom install paths.
GPU single , nvidia T4, Linux/Centos service
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.
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.
Note: For general usage questions and help, please use either our FaceSwap Forum or FaceSwap Discord server. General usage questions are liable to be closed without response.
Crash reports MUST be included when reporting bugs.
Describe the bug python setup.py /data/xu/faceswap/setup.py:18: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import parse_requirements Traceback (most recent call last): File "/data/xu/faceswap/setup.py", line 20, in
from lib.logger import log_setup
File "/data/xu/faceswap/lib/logger.py", line 425, in
def _stream_handler(loglevel: int, is_gui: bool) -> logging.StreamHandler | TqdmHandler:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
Crash Report The crash report generated in the root of your Faceswap folder