Firstly, thank you for these forums - they have helped me and no doubt everyone tremendously.
I have installed Faceswap on my Google Cloud VM and am encountering this error. I have done hours of research, attempted re-installs, and after seeing a thread on here I attempted to patch the installer (which caused the program to not run at all). I am not having much luck. I hope someone can help me?
I am not a Linux person and so this is a completely new world for me. From what I can gather, I might need to update or downgrade the drivers and/or the CUDA toolkit?
Thanks
CRASH LOG:
Code: Select all
04/25/2023 14:23:12 MainProcess MainThread image _check_for_video DEBUG Input '/home/deepfaker/Documents/2023_04_25_2058_FACESWAP/FACEA.mp4' is_video: True
04/25/2023 14:23:12 MainProcess MainThread image _get_fps DEBUG 25.0
04/25/2023 14:23:12 MainProcess MainThread image count_frames DEBUG filename: /home/deepfaker/Documents/2023_04_25_2058_FACESWAP/FACEA.mp4, fast: True
04/25/2023 14:23:12 MainProcess MainThread image count_frames DEBUG FFMPEG Command: '/home/deepfaker/miniconda3/envs/faceswap/bin/ffmpeg -i /home/deepfaker/Documents/2023_04_25_2058_FACESWAP/FACEA.mp4 -map 0:v:0 -c copy -f null -'
04/25/2023 14:23:12 MainProcess MainThread image count_frames DEBUG Duration line: Duration: 00:03:36.41, start: 0.000000, bitrate: 563 kb/s
04/25/2023 14:23:12 MainProcess MainThread utils convert_to_secs DEBUG from time: ('00', '03', '36.41')
04/25/2023 14:23:12 MainProcess MainThread utils convert_to_secs DEBUG to secs: 216
04/25/2023 14:23:12 MainProcess MainThread image count_frames DEBUG duration: 216
04/25/2023 14:23:13 MainProcess MainThread image count_frames DEBUG frame line: frame= 5407 fps=0.0 q=-1.0 Lsize=N/A time=00:03:36.20 bitrate=N/A speed=9.02e+03x
04/25/2023 14:23:13 MainProcess MainThread image count_frames DEBUG Initializing tqdm
04/25/2023 14:23:13 MainProcess MainThread utils convert_to_secs DEBUG from time: ('00', '03', '36.20')
04/25/2023 14:23:13 MainProcess MainThread utils convert_to_secs DEBUG to secs: 216
04/25/2023 14:23:13 MainProcess MainThread image count_frames DEBUG frames: 5407, vid_time: 216
04/25/2023 14:23:13 MainProcess MainThread image count_frames DEBUG Return code: 0, frames: 5407
04/25/2023 14:23:13 MainProcess MainThread image _get_count_and_filelist DEBUG count: 5407
04/25/2023 14:23:13 MainProcess MainThread extract __init__ DEBUG Initialized PipelineLoader
04/25/2023 14:23:13 MainProcess MainThread fsmedia __init__ DEBUG Initializing Alignments: (is_extract: True, input_is_video: True)
04/25/2023 14:23:13 MainProcess MainThread fsmedia _set_folder_filename DEBUG Alignments from Video File: '/home/deepfaker/Documents/2023_04_25_2058_FACESWAP/FACEA.mp4'
04/25/2023 14:23:13 MainProcess MainThread fsmedia _set_folder_filename DEBUG Setting Alignments: (folder: '/home/deepfaker/Documents/2023_04_25_2058_FACESWAP' filename: 'FACEA_alignments.fsa')
04/25/2023 14:23:13 MainProcess MainThread alignments __init__ DEBUG Initializing Alignments: (folder: '/home/deepfaker/Documents/2023_04_25_2058_FACESWAP', filename: 'FACEA_alignments.fsa')
04/25/2023 14:23:13 MainProcess MainThread alignments __init__ DEBUG Initializing _IO: (alignments: <scripts.fsmedia.Alignments object at 0x7f3bbc2ae640>)
04/25/2023 14:23:13 MainProcess MainThread serializer get_serializer DEBUG <lib.serializer._PickleSerializer object at 0x7f3bbc2ae460>
04/25/2023 14:23:13 MainProcess MainThread serializer get_serializer DEBUG <lib.serializer._CompressedSerializer object at 0x7f3bbc2aea90>
04/25/2023 14:23:13 MainProcess MainThread alignments _get_location DEBUG Getting location: (folder: '/home/deepfaker/Documents/2023_04_25_2058_FACESWAP', filename: 'FACEA_alignments.fsa')
04/25/2023 14:23:13 MainProcess MainThread alignments _get_location DEBUG Valid Alignments filename provided: 'FACEA_alignments.fsa'
04/25/2023 14:23:13 MainProcess MainThread alignments _test_for_legacy DEBUG Checking for legacy alignments file formats: '/home/deepfaker/Documents/2023_04_25_2058_FACESWAP/FACEA_alignments.fsa'
04/25/2023 14:23:13 MainProcess MainThread alignments _test_for_legacy DEBUG Legacy alignments file does not exist: '/home/deepfaker/Documents/2023_04_25_2058_FACESWAP/FACEA_alignments.json'
04/25/2023 14:23:13 MainProcess MainThread alignments _test_for_legacy DEBUG Legacy alignments file does not exist: '/home/deepfaker/Documents/2023_04_25_2058_FACESWAP/FACEA_alignments.p'
04/25/2023 14:23:13 MainProcess MainThread alignments _test_for_legacy DEBUG Legacy alignments file does not exist: '/home/deepfaker/Documents/2023_04_25_2058_FACESWAP/FACEA_alignments.pickle'
04/25/2023 14:23:13 MainProcess MainThread alignments _test_for_legacy DEBUG Legacy alignments file does not exist: '/home/deepfaker/Documents/2023_04_25_2058_FACESWAP/FACEA_alignments.yaml'
04/25/2023 14:23:13 MainProcess MainThread alignments _get_location VERBOSE Alignments filepath: '/home/deepfaker/Documents/2023_04_25_2058_FACESWAP/FACEA_alignments.fsa'
04/25/2023 14:23:13 MainProcess MainThread fsmedia _load DEBUG No skipping selected. Returning empty dictionary
04/25/2023 14:23:13 MainProcess MainThread alignments _test DEBUG checking _FileStructure
04/25/2023 14:23:13 MainProcess MainThread alignments _test DEBUG legacy _FileStructure: False
04/25/2023 14:23:13 MainProcess MainThread alignments _test DEBUG checking _LandmarkRename
04/25/2023 14:23:13 MainProcess MainThread alignments _test DEBUG legacy _LandmarkRename: False
04/25/2023 14:23:13 MainProcess MainThread alignments _test DEBUG checking _ListToNumpy
04/25/2023 14:23:13 MainProcess MainThread alignments _test DEBUG legacy _ListToNumpy: False
04/25/2023 14:23:13 MainProcess MainThread alignments _test DEBUG checking _MaskCentering
04/25/2023 14:23:13 MainProcess MainThread alignments _test DEBUG legacy _MaskCentering: False
04/25/2023 14:23:13 MainProcess MainThread alignments _test DEBUG checking _IdentityAndVideoMeta
04/25/2023 14:23:13 MainProcess MainThread alignments _test DEBUG legacy _IdentityAndVideoMeta: False
04/25/2023 14:23:13 MainProcess MainThread alignments __init__ DEBUG Initializing Thumbnails: (alignments: <scripts.fsmedia.Alignments object at 0x7f3bbc2ae640>)
04/25/2023 14:23:13 MainProcess MainThread alignments __init__ DEBUG Initialized Thumbnails
04/25/2023 14:23:13 MainProcess MainThread alignments __init__ DEBUG Initialized Alignments
04/25/2023 14:23:13 MainProcess MainThread fsmedia __init__ DEBUG Initialized Alignments
04/25/2023 14:23:13 MainProcess MainThread extract _set_skip_list DEBUG No frames to be skipped
04/25/2023 14:23:13 MainProcess MainThread fsmedia __init__ DEBUG Initializing PostProcess
04/25/2023 14:23:13 MainProcess MainThread fsmedia _get_items DEBUG Postprocess Items: {}
04/25/2023 14:23:13 MainProcess MainThread fsmedia __init__ DEBUG Initialized PostProcess
04/25/2023 14:23:13 MainProcess MainThread extract __init__ DEBUG Initialized _Extract
04/25/2023 14:23:13 MainProcess MainThread extract _threaded_redirector DEBUG Threading task: (Task: 'load')
04/25/2023 14:23:13 MainProcess MainThread multithreading __init__ DEBUG Initializing MultiThread: (target: '_load', thread_count: 1)
04/25/2023 14:23:13 MainProcess MainThread multithreading __init__ DEBUG Initialized MultiThread: '_load'
04/25/2023 14:23:13 MainProcess MainThread multithreading start DEBUG Starting thread(s): '_load'
04/25/2023 14:23:13 MainProcess MainThread multithreading start DEBUG Starting thread 1 of 1: '_load'
04/25/2023 14:23:13 MainProcess _load extract _load DEBUG Load Images: Start
04/25/2023 14:23:13 MainProcess _load image load DEBUG Initializing Load Generator
04/25/2023 14:23:13 MainProcess _load multithreading __init__ DEBUG Initializing MultiThread: (target: 'ImagesLoader', thread_count: 1)
04/25/2023 14:23:13 MainProcess _load multithreading __init__ DEBUG Initialized MultiThread: 'ImagesLoader'
04/25/2023 14:23:13 MainProcess _load image _set_thread DEBUG Set thread: <lib.multithreading.MultiThread object at 0x7f3bbc244c40>
04/25/2023 14:23:13 MainProcess _load multithreading start DEBUG Starting thread(s): 'ImagesLoader'
04/25/2023 14:23:13 MainProcess _load multithreading start DEBUG Starting thread 1 of 1: 'ImagesLoader'
04/25/2023 14:23:13 MainProcess ImagesLoader image _process DEBUG Load iterator: <bound method ImagesLoader._from_video of <lib.image.ImagesLoader object at 0x7f3bbc2ae6d0>>
04/25/2023 14:23:13 MainProcess ImagesLoader image _from_video DEBUG Loading frames from video: '/home/deepfaker/Documents/2023_04_25_2058_FACESWAP/FACEA.mp4'
04/25/2023 14:23:13 MainProcess _load multithreading start DEBUG Started all threads 'ImagesLoader': 1
04/25/2023 14:23:13 MainProcess MainThread multithreading start DEBUG Started all threads '_load': 1
04/25/2023 14:23:13 MainProcess MainThread image __init__ DEBUG Initializing ImagesSaver: (path: /home/deepfaker/Documents/2023_04_25_2058_FACESWAP, queue_size: 8, as_bytes: True)
04/25/2023 14:23:13 MainProcess MainThread image __init__ DEBUG Initializing ImagesSaver: (path: /home/deepfaker/Documents/2023_04_25_2058_FACESWAP, queue_size: 8, args: None)
04/25/2023 14:23:13 MainProcess MainThread queue_manager add_queue DEBUG QueueManager adding: (name: 'ImagesSaver', maxsize: 8, create_new: True)
04/25/2023 14:23:13 MainProcess MainThread queue_manager add_queue DEBUG QueueManager added: (name: 'ImagesSaver')
04/25/2023 14:23:13 MainProcess MainThread queue_manager get_queue DEBUG QueueManager getting: 'ImagesSaver'
04/25/2023 14:23:13 MainProcess MainThread queue_manager get_queue DEBUG QueueManager got: 'ImagesSaver'
04/25/2023 14:23:13 MainProcess MainThread pipeline _launch_plugin DEBUG Launching detect plugin
04/25/2023 14:23:13 MainProcess MainThread pipeline _launch_plugin DEBUG in_qname: extract0_detect_in, out_qname: extract0_align_in
04/25/2023 14:23:13 MainProcess MainThread _base initialize DEBUG initialize Detect: (args: (), kwargs: {'in_queue': <lib.queue_manager.EventQueue object at 0x7f3bbc2bb4c0>, 'out_queue': <lib.queue_manager.EventQueue object at 0x7f3bbc207250>})
04/25/2023 14:23:13 MainProcess MainThread _base initialize INFO Initializing S3FD (Detect)...
04/25/2023 14:23:13 MainProcess MainThread queue_manager get_queue DEBUG QueueManager getting: 'detect0_predict_s3fd'
04/25/2023 14:23:13 MainProcess MainThread queue_manager add_queue DEBUG QueueManager adding: (name: 'detect0_predict_s3fd', maxsize: 1, create_new: False)
04/25/2023 14:23:13 MainProcess MainThread queue_manager add_queue DEBUG QueueManager added: (name: 'detect0_predict_s3fd')
04/25/2023 14:23:13 MainProcess MainThread queue_manager get_queue DEBUG QueueManager got: 'detect0_predict_s3fd'
04/25/2023 14:23:13 MainProcess MainThread queue_manager get_queue DEBUG QueueManager getting: 'detect0_post_s3fd'
04/25/2023 14:23:13 MainProcess MainThread queue_manager add_queue DEBUG QueueManager adding: (name: 'detect0_post_s3fd', maxsize: 1, create_new: False)
04/25/2023 14:23:13 MainProcess MainThread queue_manager add_queue DEBUG QueueManager added: (name: 'detect0_post_s3fd')
04/25/2023 14:23:13 MainProcess MainThread queue_manager get_queue DEBUG QueueManager got: 'detect0_post_s3fd'
04/25/2023 14:23:13 MainProcess MainThread _base _compile_threads DEBUG Compiling detect threads
04/25/2023 14:23:13 MainProcess MainThread _base _add_thread DEBUG Adding thread: (name: detect_s3fd_input, function: <bound method Extractor._process_input of <plugins.extract.detect.s3fd.Detect object at 0x7f3bb764b700>>, in_queue: <lib.queue_manager.EventQueue object at 0x7f3bbc2bb4c0>, out_queue: <lib.queue_manager.EventQueue object at 0x7f3baa7b83a0>)
04/25/2023 14:23:13 MainProcess MainThread multithreading __init__ DEBUG Initializing MultiThread: (target: 'detect_s3fd_input', thread_count: 1)
04/25/2023 14:23:13 MainProcess MainThread multithreading __init__ DEBUG Initialized MultiThread: 'detect_s3fd_input'
04/25/2023 14:23:13 MainProcess MainThread _base _add_thread DEBUG Added thread: detect_s3fd_input
04/25/2023 14:23:13 MainProcess MainThread _base _add_thread DEBUG Adding thread: (name: detect_s3fd_predict, function: <bound method Detector._predict of <plugins.extract.detect.s3fd.Detect object at 0x7f3bb764b700>>, in_queue: <lib.queue_manager.EventQueue object at 0x7f3baa7b83a0>, out_queue: <lib.queue_manager.EventQueue object at 0x7f3baa7b84f0>)
04/25/2023 14:23:13 MainProcess MainThread multithreading __init__ DEBUG Initializing MultiThread: (target: 'detect_s3fd_predict', thread_count: 1)
04/25/2023 14:23:13 MainProcess MainThread multithreading __init__ DEBUG Initialized MultiThread: 'detect_s3fd_predict'
04/25/2023 14:23:13 MainProcess MainThread _base _add_thread DEBUG Added thread: detect_s3fd_predict
04/25/2023 14:23:13 MainProcess MainThread _base _add_thread DEBUG Adding thread: (name: detect_s3fd_output, function: <bound method Extractor._process_output of <plugins.extract.detect.s3fd.Detect object at 0x7f3bb764b700>>, in_queue: <lib.queue_manager.EventQueue object at 0x7f3baa7b84f0>, out_queue: <lib.queue_manager.EventQueue object at 0x7f3bbc207250>)
04/25/2023 14:23:13 MainProcess MainThread multithreading __init__ DEBUG Initializing MultiThread: (target: 'detect_s3fd_output', thread_count: 1)
04/25/2023 14:23:13 MainProcess MainThread multithreading __init__ DEBUG Initialized MultiThread: 'detect_s3fd_output'
04/25/2023 14:23:13 MainProcess MainThread _base _add_thread DEBUG Added thread: detect_s3fd_output
04/25/2023 14:23:13 MainProcess MainThread _base _compile_threads DEBUG Compiled detect threads: [<lib.multithreading.MultiThread object at 0x7f3baa7b8370>, <lib.multithreading.MultiThread object at 0x7f3baa7b86a0>, <lib.multithreading.MultiThread object at 0x7f3baa7b86d0>]
04/25/2023 14:23:13 MainProcess MainThread s3fd __init__ DEBUG Initializing: S3fd: (model_path: '/home/deepfaker/faceswap/.fs_cache/s3fd_keras_v2.h5', model_kwargs: {'custom_objects': {'L2Norm': <class 'plugins.extract.detect.s3fd.L2Norm'>, 'SliceO2K': <class 'plugins.extract.detect.s3fd.SliceO2K'>}}, allow_growth: False, exclude_gpus: None, confidence: 0.7)
Traceback (most recent call last):
File "/home/deepfaker/faceswap/lib/cli/launcher.py", line 230, in execute_script
process.process()
File "/home/deepfaker/faceswap/scripts/extract.py", line 178, in process
extract.process()
File "/home/deepfaker/faceswap/scripts/extract.py", line 702, in process
self._run_extraction()
File "/home/deepfaker/faceswap/scripts/extract.py", line 722, in _run_extraction
self._extractor.launch()
File "/home/deepfaker/faceswap/plugins/extract/pipeline.py", line 271, in launch
self._launch_plugin(phase)
File "/home/deepfaker/faceswap/plugins/extract/pipeline.py", line 700, in _launch_plugin
plugin.initialize(**kwargs)
File "/home/deepfaker/faceswap/plugins/extract/_base.py", line 481, in initialize
self.init_model()
File "/home/deepfaker/faceswap/plugins/extract/detect/s3fd.py", line 52, in init_model
self.model = S3fd(self.model_path,
File "/home/deepfaker/faceswap/plugins/extract/detect/s3fd.py", line 247, in __init__
self.define_model(self.model_definition)
File "/home/deepfaker/faceswap/lib/model/session.py", line 220, in define_model
self._model = Model(*function())
File "/home/deepfaker/faceswap/plugins/extract/detect/s3fd.py", line 256, in model_definition
var_x = self.conv_block(input_, 64, 1, 2)
File "/home/deepfaker/faceswap/plugins/extract/detect/s3fd.py", line 346, in conv_block
var_x = Conv2D(filters,
File "/home/deepfaker/miniconda3/envs/faceswap/lib/python3.9/site-packages/keras/utils/traceback_utils.py", line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/home/deepfaker/miniconda3/envs/faceswap/lib/python3.9/site-packages/keras/backend.py", line 2100, in random_uniform
return tf.random.stateless_uniform(
tensorflow.python.framework.errors_impl.InternalError: cudaGetDevice() failed. Status: initialization error
============ System Information ============
backend: nvidia
encoding: UTF-8
git_branch: Not Found
git_commits: Not Found
gpu_cuda: 11.
gpu_cudnn: No global version found. Check Conda packages for Conda cuDNN
gpu_devices: GPU_0: Tesla P100-PCIE-16GB
gpu_devices_active: GPU_0
gpu_driver: 440.100
gpu_vram: GPU_0: 16280MB (16270MB free)
os_machine: x86_64
os_platform: Linux-5.4.0-1021-gcp-x86_64-with-glibc2.31
os_release: 5.4.0-1021-gcp
py_command: /home/deepfaker/faceswap/faceswap.py extract -i /home/deepfaker/Documents/2023_04_25_2058_FACESWAP/FACEA.mp4 -o /home/deepfaker/Documents/2023_04_25_2058_FACESWAP -D s3fd -A fan -M bisenet-fp -nm none -rf 0 -min 0 -l 0.6 -sz 512 -een 1 -si 0 -L INFO -gui
py_conda_version: conda 23.3.1
py_implementation: CPython
py_version: 3.9.16
py_virtual_env: True
sys_cores: 4
sys_processor: x86_64
sys_ram: Total: 15005MB, Available: 12803MB, Used: 1796MB, Free: 1583MB
=============== Pip Packages ===============
absl-py @ file:///croot/absl-py_1666362940888/work
astunparse==1.6.3
brotlipy @ file:///home/conda/feedstock_root/build_artifacts/brotlipy_1666764672617/work
cachetools==5.3.0
certifi==2022.12.7
cffi @ file:///home/conda/feedstock_root/build_artifacts/cffi_1671179360775/work
charset-normalizer @ file:///home/conda/feedstock_root/build_artifacts/charset-normalizer_1678108872112/work
cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1632508026186/work
cryptography @ file:///home/conda/feedstock_root/build_artifacts/cryptography_1669592186537/work
cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work
decorator @ file:///opt/conda/conda-bld/decorator_1643638310831/work
dm-tree @ file:///croot/dm-tree_1671027432897/work
fastcluster @ file:///home/conda/feedstock_root/build_artifacts/fastcluster_1667858905653/work
ffmpy==0.3.0
flatbuffers==23.3.3
fonttools==4.25.0
gast @ file:///home/conda/feedstock_root/build_artifacts/gast_1636964356021/work
google-auth==2.17.3
google-auth-oauthlib==0.4.6
google-pasta==0.2.0
grpcio==1.54.0
h5py==3.8.0
idna @ file:///home/conda/feedstock_root/build_artifacts/idna_1663625384323/work
imageio @ file:///croot/imageio_1677879560821/work
imageio-ffmpeg @ file:///home/conda/feedstock_root/build_artifacts/imageio-ffmpeg_1673483481485/work
importlib-metadata==6.6.0
joblib @ file:///home/conda/feedstock_root/build_artifacts/joblib_1663332044897/work
keras==2.10.0
Keras-Preprocessing==1.1.2
kiwisolver @ file:///croot/kiwisolver_1672387140495/work
libclang==16.0.0
Markdown==3.4.3
MarkupSafe==2.1.2
matplotlib @ file:///croot/matplotlib-suite_1667356714455/work
mkl-fft==1.3.1
mkl-random @ file:///tmp/build/80754af9/mkl_random_1626186066731/work
mkl-service==2.4.0
munkres==1.1.4
numexpr @ file:///croot/numexpr_1668713893690/work
numpy @ file:///croot/numpy_and_numpy_base_1672336185480/work
nvidia-ml-py==11.525.112
oauthlib==3.2.2
opencv-python==4.7.0.72
opt-einsum==3.3.0
packaging @ file:///croot/packaging_1678965309396/work
pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
Pillow==9.4.0
platformdirs @ file:///home/conda/feedstock_root/build_artifacts/platformdirs_1679871349196/work
ply==3.11
pooch @ file:///home/conda/feedstock_root/build_artifacts/pooch_1679580333621/work
protobuf==3.19.6
psutil @ file:///opt/conda/conda-bld/psutil_1656431268089/work
ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
pyasn1==0.5.0
pyasn1-modules==0.3.0
pycparser @ file:///home/conda/feedstock_root/build_artifacts/pycparser_1636257122734/work
pyOpenSSL @ file:///home/conda/feedstock_root/build_artifacts/pyopenssl_1680037383858/work
pyparsing @ file:///opt/conda/conda-bld/pyparsing_1661452539315/work
PyQt5-sip==12.11.0
PySocks @ file:///home/conda/feedstock_root/build_artifacts/pysocks_1661604839144/work
python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
requests @ file:///home/conda/feedstock_root/build_artifacts/requests_1680286922386/work
requests-oauthlib==1.3.1
rsa==4.9
scikit-learn @ file:///home/conda/feedstock_root/build_artifacts/scikit-learn_1679675836807/work
scipy==1.10.1
sip @ file:///tmp/abs_44cd77b_pu/croots/recipe/sip_1659012365470/work
six @ file:///tmp/build/80754af9/six_1644875935023/work
tensorboard==2.10.1
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
tensorflow-estimator==2.10.0
tensorflow-gpu==2.10.1
tensorflow-io-gcs-filesystem==0.32.0
tensorflow-probability @ file:///tmp/build/80754af9/tensorflow-probability_1633017132682/work
termcolor==2.3.0
threadpoolctl @ file:///home/conda/feedstock_root/build_artifacts/threadpoolctl_1643647933166/work
toml @ file:///tmp/build/80754af9/toml_1616166611790/work
tornado @ file:///opt/conda/conda-bld/tornado_1662061693373/work
tqdm @ file:///croot/tqdm_1679561862951/work
typing_extensions @ file:///home/conda/feedstock_root/build_artifacts/typing_extensions_1678559861143/work
urllib3 @ file:///home/conda/feedstock_root/build_artifacts/urllib3_1678635778344/work
Werkzeug==2.2.3
wrapt==1.15.0
zipp==3.15.0
============== Conda Packages ==============
# packages in environment at /home/deepfaker/miniconda3/envs/faceswap:
#
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
absl-py 1.3.0 py39h06a4308_0
astunparse 1.6.3 pypi_0 pypi
binutils_impl_linux-64 2.38 h2a08ee3_1
blas 1.0 mkl
brotli 1.0.9 h5eee18b_7
brotli-bin 1.0.9 h5eee18b_7
brotlipy 0.7.0 py39hb9d737c_1005 conda-forge
bzip2 1.0.8 h7b6447c_0
c-ares 1.19.0 h5eee18b_0
ca-certificates 2022.12.7 ha878542_0 conda-forge
cachetools 5.3.0 pypi_0 pypi
certifi 2022.12.7 pyhd8ed1ab_0 conda-forge
cffi 1.15.1 py39he91dace_3 conda-forge
charset-normalizer 3.1.0 pyhd8ed1ab_0 conda-forge
cloudpickle 2.0.0 pyhd3eb1b0_0
cryptography 38.0.4 py39hd97740a_0 conda-forge
cudatoolkit 11.2.2 hbe64b41_11 conda-forge
cudnn 8.1.0.77 h90431f1_0 conda-forge
curl 7.88.1 h5eee18b_0
cycler 0.11.0 pyhd3eb1b0_0
dbus 1.13.18 hb2f20db_0
decorator 5.1.1 pyhd3eb1b0_0
dm-tree 0.1.7 py39h6a678d5_1
expat 2.4.9 h6a678d5_0
fastcluster 1.2.6 py39h4661b88_2 conda-forge
ffmpeg 4.2.2 h20bf706_0
ffmpy 0.3.0 pypi_0 pypi
flatbuffers 23.3.3 pypi_0 pypi
fontconfig 2.14.1 h4c34cd2_2
fonttools 4.25.0 pyhd3eb1b0_0
freetype 2.12.1 h4a9f257_0
gast 0.4.0 pypi_0 pypi
gcc 12.1.0 h9ea6d83_10 conda-forge
gcc_impl_linux-64 12.1.0 hea43390_17 conda-forge
gdbm 1.18 hd4cb3f1_4
gettext 0.21.0 h39681ba_1
giflib 5.2.1 h5eee18b_3
git 2.34.1 pl5262hc120c5b_0
glib 2.69.1 he621ea3_2
gmp 6.2.1 h58526e2_0 conda-forge
gnutls 3.6.13 h85f3911_1 conda-forge
google-auth 2.17.3 pypi_0 pypi
google-auth-oauthlib 0.4.6 pypi_0 pypi
google-pasta 0.2.0 pypi_0 pypi
grpcio 1.54.0 pypi_0 pypi
gst-plugins-base 1.14.1 h6a678d5_1
gstreamer 1.14.1 h5eee18b_1
h5py 3.8.0 pypi_0 pypi
icu 58.2 he6710b0_3
idna 3.4 pyhd8ed1ab_0 conda-forge
imageio 2.26.0 py39h06a4308_0
imageio-ffmpeg 0.4.8 pyhd8ed1ab_0 conda-forge
importlib-metadata 6.6.0 pypi_0 pypi
intel-openmp 2021.4.0 h06a4308_3561
joblib 1.2.0 pyhd8ed1ab_0 conda-forge
jpeg 9e h5eee18b_1
keras 2.10.0 pypi_0 pypi
keras-preprocessing 1.1.2 pypi_0 pypi
kernel-headers_linux-64 2.6.32 he073ed8_15 conda-forge
kiwisolver 1.4.4 py39h6a678d5_0
krb5 1.19.4 h568e23c_0
lame 3.100 h166bdaf_1003 conda-forge
lcms2 2.12 h3be6417_0
ld_impl_linux-64 2.38 h1181459_1
lerc 3.0 h295c915_0
libbrotlicommon 1.0.9 h5eee18b_7
libbrotlidec 1.0.9 h5eee18b_7
libbrotlienc 1.0.9 h5eee18b_7
libclang 16.0.0 pypi_0 pypi
libclang13 14.0.6 default_he11475f_1
libcurl 7.88.1 h91b91d3_0
libdeflate 1.17 h5eee18b_0
libedit 3.1.20221030 h5eee18b_0
libev 4.33 h7f8727e_1
libevent 2.1.12 h8f2d780_0
libffi 3.4.2 h6a678d5_6
libgcc-devel_linux-64 12.1.0 h1ec3361_17 conda-forge
libgcc-ng 12.2.0 h65d4601_19 conda-forge
libgfortran-ng 12.2.0 h69a702a_19 conda-forge
libgfortran5 12.2.0 h337968e_19 conda-forge
libgomp 12.2.0 h65d4601_19 conda-forge
libllvm14 14.0.6 hdb19cb5_2
libnghttp2 1.46.0 hce63b2e_0
libopus 1.3.1 h7f98852_1 conda-forge
libpng 1.6.39 h5eee18b_0
libpq 12.9 h16c4e8d_3
libsanitizer 12.1.0 ha89aaad_17 conda-forge
libssh2 1.10.0 h8f2d780_0
libstdcxx-ng 12.2.0 h46fd767_19 conda-forge
libtiff 4.5.0 h6a678d5_2
libuuid 1.41.5 h5eee18b_0
libvpx 1.7.0 h439df22_0
libwebp 1.2.4 h11a3e52_1
libwebp-base 1.2.4 h5eee18b_1
libxcb 1.15 h7f8727e_0
libxkbcommon 1.0.1 h5eee18b_1
libxml2 2.10.3 hcbfbd50_0
libxslt 1.1.37 h2085143_0
lz4-c 1.9.4 h6a678d5_0
markdown 3.4.3 pypi_0 pypi
markupsafe 2.1.2 pypi_0 pypi
matplotlib 3.5.3 py39h06a4308_0
matplotlib-base 3.5.3 py39hf590b9c_0
mkl 2021.4.0 h06a4308_640
mkl-service 2.4.0 py39h7f8727e_0
mkl_fft 1.3.1 py39hd3c417c_0
mkl_random 1.2.2 py39h51133e4_0
munkres 1.1.4 py_0
ncurses 6.4 h6a678d5_0
nettle 3.6 he412f7d_0 conda-forge
nspr 4.33 h295c915_0
nss 3.74 h0370c37_0
numexpr 2.8.4 py39he184ba9_0
numpy 1.23.5 py39h14f4228_0
numpy-base 1.23.5 py39h31eccc5_0
nvidia-ml-py 11.525.112 pypi_0 pypi
oauthlib 3.2.2 pypi_0 pypi
opencv-python 4.7.0.72 pypi_0 pypi
openh264 2.1.1 h4ff587b_0
openssl 1.1.1t h0b41bf4_0 conda-forge
opt-einsum 3.3.0 pypi_0 pypi
packaging 23.0 py39h06a4308_0
pcre 8.45 h295c915_0
pcre2 10.37 he7ceb23_1
perl 5.34.0 h5eee18b_2
pexpect 4.8.0 pyhd3eb1b0_3
pillow 9.4.0 py39h6a678d5_0
pip 23.0.1 py39h06a4308_0
platformdirs 3.2.0 pyhd8ed1ab_0 conda-forge
ply 3.11 py39h06a4308_0
pooch 1.7.0 pyha770c72_3 conda-forge
protobuf 3.19.6 pypi_0 pypi
psutil 5.9.0 py39h5eee18b_0
ptyprocess 0.7.0 pyhd3eb1b0_2
pyasn1 0.5.0 pypi_0 pypi
pyasn1-modules 0.3.0 pypi_0 pypi
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pyopenssl 23.1.1 pyhd8ed1ab_0 conda-forge
pyparsing 3.0.9 py39h06a4308_0
pyqt 5.15.7 py39h6a678d5_1
pyqt5-sip 12.11.0 py39h6a678d5_1
pysocks 1.7.1 pyha2e5f31_6 conda-forge
python 3.9.16 h7a1cb2a_2
python-dateutil 2.8.2 pyhd3eb1b0_0
python_abi 3.9 2_cp39 conda-forge
qt-main 5.15.2 h8373d8f_8
qt-webengine 5.15.9 hbbf29b9_6
qtwebkit 5.212 h3fafdc1_5
readline 8.2 h5eee18b_0
requests 2.28.2 pyhd8ed1ab_1 conda-forge
requests-oauthlib 1.3.1 pypi_0 pypi
rsa 4.9 pypi_0 pypi
scikit-learn 1.2.2 py39hd189fd4_1 conda-forge
scipy 1.10.1 py39h14f4228_0
setuptools 66.0.0 py39h06a4308_0
sip 6.6.2 py39h6a678d5_0
six 1.16.0 pyhd3eb1b0_1
sqlite 3.41.2 h5eee18b_0
sysroot_linux-64 2.12 he073ed8_15 conda-forge
tensorboard 2.10.1 pypi_0 pypi
tensorboard-data-server 0.6.1 pypi_0 pypi
tensorboard-plugin-wit 1.8.1 pypi_0 pypi
tensorflow-estimator 2.10.0 pypi_0 pypi
tensorflow-gpu 2.10.1 pypi_0 pypi
tensorflow-io-gcs-filesystem 0.32.0 pypi_0 pypi
tensorflow-probability 0.14.0 pyhd3eb1b0_0
termcolor 2.3.0 pypi_0 pypi
threadpoolctl 3.1.0 pyh8a188c0_0 conda-forge
tk 8.6.12 h1ccaba5_0
toml 0.10.2 pyhd3eb1b0_0
tornado 6.2 py39h5eee18b_0
tqdm 4.65.0 py39hb070fc8_0
typing-extensions 4.5.0 hd8ed1ab_0 conda-forge
typing_extensions 4.5.0 pyha770c72_0 conda-forge
tzdata 2023c h04d1e81_0
urllib3 1.26.15 pyhd8ed1ab_0 conda-forge
werkzeug 2.2.3 pypi_0 pypi
wheel 0.38.4 py39h06a4308_0
wrapt 1.15.0 pypi_0 pypi
x264 1!157.20191217 h7b6447c_0
xz 5.2.10 h5eee18b_1
zipp 3.15.0 pypi_0 pypi
zlib 1.2.13 h5eee18b_0
zstd 1.5.5 hc292b87_0
================= Configs ==================
--------- train.ini ---------
[global]
centering: face
coverage: 87.5
icnr_init: False
conv_aware_init: False
optimizer: adam
learning_rate: 5e-05
epsilon_exponent: -7
autoclip: False
reflect_padding: False
allow_growth: False
mixed_precision: False
nan_protection: True
convert_batchsize: 16
[global.loss]
loss_function: ssim
loss_function_2: mse
loss_weight_2: 100
loss_function_3: none
loss_weight_3: 0
loss_function_4: none
loss_weight_4: 0
mask_loss_function: mse
eye_multiplier: 3
mouth_multiplier: 2
penalized_mask_loss: True
mask_type: extended
mask_blur_kernel: 3
mask_threshold: 4
learn_mask: False
[model.unbalanced]
input_size: 128
lowmem: False
nodes: 1024
complexity_encoder: 128
complexity_decoder_a: 384
complexity_decoder_b: 512
[model.dfaker]
output_size: 128
[model.phaze_a]
output_size: 128
shared_fc: none
enable_gblock: True
split_fc: True
split_gblock: False
split_decoders: False
enc_architecture: fs_original
enc_scaling: 7
enc_load_weights: True
bottleneck_type: dense
bottleneck_norm: none
bottleneck_size: 1024
bottleneck_in_encoder: True
fc_depth: 1
fc_min_filters: 1024
fc_max_filters: 1024
fc_dimensions: 4
fc_filter_slope: -0.5
fc_dropout: 0.0
fc_upsampler: upsample2d
fc_upsamples: 1
fc_upsample_filters: 512
fc_gblock_depth: 3
fc_gblock_min_nodes: 512
fc_gblock_max_nodes: 512
fc_gblock_filter_slope: -0.5
fc_gblock_dropout: 0.0
dec_upscale_method: subpixel
dec_upscales_in_fc: 0
dec_norm: none
dec_min_filters: 64
dec_max_filters: 512
dec_slope_mode: full
dec_filter_slope: -0.45
dec_res_blocks: 1
dec_output_kernel: 5
dec_gaussian: True
dec_skip_last_residual: True
freeze_layers: keras_encoder
load_layers: encoder
fs_original_depth: 4
fs_original_min_filters: 128
fs_original_max_filters: 1024
fs_original_use_alt: False
mobilenet_width: 1.0
mobilenet_depth: 1
mobilenet_dropout: 0.001
mobilenet_minimalistic: False
[model.dfl_h128]
lowmem: False
[model.original]
lowmem: False
[model.dlight]
features: best
details: good
output_size: 256
[model.realface]
input_size: 64
output_size: 128
dense_nodes: 1536
complexity_encoder: 128
complexity_decoder: 512
[model.villain]
lowmem: False
[model.dfl_sae]
input_size: 128
architecture: df
autoencoder_dims: 0
encoder_dims: 42
decoder_dims: 21
multiscale_decoder: False
[trainer.original]
preview_images: 14
mask_opacity: 30
mask_color: #ff0000
zoom_amount: 5
rotation_range: 10
shift_range: 5
flip_chance: 50
color_lightness: 30
color_ab: 8
color_clahe_chance: 50
color_clahe_max_size: 4
--------- gui.ini ---------
[global]
fullscreen: False
tab: extract
options_panel_width: 30
console_panel_height: 20
icon_size: 14
font: default
font_size: 9
autosave_last_session: prompt
timeout: 120
auto_load_model_stats: True
--------- convert.ini ---------
[writer.ffmpeg]
container: mp4
codec: libx264
crf: 23
preset: medium
tune: none
profile: auto
level: auto
skip_mux: False
[writer.opencv]
format: png
draw_transparent: False
separate_mask: False
jpg_quality: 75
png_compress_level: 3
[writer.pillow]
format: png
draw_transparent: False
separate_mask: False
optimize: False
gif_interlace: True
jpg_quality: 75
png_compress_level: 3
tif_compression: tiff_deflate
[writer.gif]
fps: 25
loop: 0
palettesize: 256
subrectangles: False
[scaling.sharpen]
method: none
amount: 150
radius: 0.3
threshold: 5.0
[color.match_hist]
threshold: 99.0
[color.manual_balance]
colorspace: HSV
balance_1: 0.0
balance_2: 0.0
balance_3: 0.0
contrast: 0.0
brightness: 0.0
[color.color_transfer]
clip: True
preserve_paper: True
[mask.mask_blend]
type: normalized
kernel_size: 3
passes: 4
threshold: 4
erosion: 0.0
erosion_top: 0.0
erosion_bottom: 0.0
erosion_left: 0.0
erosion_right: 0.0
--------- extract.ini ---------
[global]
allow_growth: False
aligner_min_scale: 0.07
aligner_max_scale: 2.0
aligner_distance: 22.5
aligner_roll: 45.0
aligner_features: True
filter_refeed: True
save_filtered: False
realign_refeeds: True
filter_realign: True
[detect.s3fd]
confidence: 70
batch-size: 4
[detect.mtcnn]
minsize: 20
scalefactor: 0.709
batch-size: 8
cpu: True
threshold_1: 0.6
threshold_2: 0.7
threshold_3: 0.7
[detect.cv2_dnn]
confidence: 50
[recognition.vgg_face2]
batch-size: 16
cpu: False
[align.fan]
batch-size: 12
[mask.vgg_obstructed]
batch-size: 2
[mask.custom]
batch-size: 8
centering: face
fill: False
[mask.bisenet_fp]
batch-size: 8
cpu: False
weights: faceswap
include_ears: False
include_hair: False
include_glasses: True
[mask.vgg_clear]
batch-size: 6
[mask.unet_dfl]
batch-size: 8
--------- .faceswap ---------
backend: nvidia