Hi Everyone,
wanted to give this project a shot, install Process was pretty well guided, great job on that one!
OS is Linux Mint, GPU is 7900XT, Rocm is up and running.
when i try to start this project I get errors from several sources for a wrong numpy API Version:
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf
seems like there is no "common" numpy solution that works for every aspect of this unfortunately. But I am still learning so not completely sure about this. Would be greatful for any help!
Attached is the crashlog:
Code: Select all
06/07/2024 10:22:51 MainProcess MainThread logger log_setup INFO Log level set to: INFO
06/07/2024 10:22:51 MainProcess MainThread launcher _set_environment_variables DEBUG Setting TF_RUN_EAGER_OP_AS_FUNCTION env var to False
06/07/2024 10:22:51 MainProcess MainThread tpu_cluster_resolver <module> DEBUG Falling back to TensorFlow client; we recommended you install the Cloud TPU client directly with pip install cloud-tpu-client.
06/07/2024 10:22:51 MainProcess MainThread __init__ <module> DEBUG Creating converter from 7 to 5
06/07/2024 10:22:51 MainProcess MainThread __init__ <module> DEBUG Creating converter from 5 to 7
06/07/2024 10:22:51 MainProcess MainThread __init__ <module> DEBUG Creating converter from 7 to 5
06/07/2024 10:22:51 MainProcess MainThread __init__ <module> DEBUG Creating converter from 5 to 7
06/07/2024 10:22:52 MainProcess MainThread launcher _test_for_tf_version DEBUG Installed Tensorflow Version: (2, 10)
06/07/2024 10:22:52 MainProcess MainThread __init__ wrapper DEBUG matplotlib data path: /home/dani/miniconda3/envs/faceswap/lib/python3.10/site-packages/matplotlib/mpl-data
06/07/2024 10:22:52 MainProcess MainThread __init__ wrapper DEBUG CONFIGDIR=/home/dani/.config/matplotlib
06/07/2024 10:22:52 MainProcess MainThread __init__ <module> DEBUG interactive is False
06/07/2024 10:22:52 MainProcess MainThread __init__ <module> DEBUG platform is linux
06/07/2024 10:22:52 MainProcess MainThread __init__ wrapper DEBUG CACHEDIR=/home/dani/.cache/matplotlib
06/07/2024 10:22:52 MainProcess MainThread font_manager __init__ DEBUG font search path [PosixPath('/home/dani/miniconda3/envs/faceswap/lib/python3.10/site-packages/matplotlib/mpl-data/fonts/ttf'), PosixPath('/home/dani/miniconda3/envs/faceswap/lib/python3.10/site-packages/matplotlib/mpl-data/fonts/afm'), PosixPath('/home/dani/miniconda3/envs/faceswap/lib/python3.10/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts')]
06/07/2024 10:22:52 MainProcess MainThread font_manager __init__ DEBUG Failed to extract font properties from /usr/share/fonts/truetype/noto/NotoColorEmoji.ttf: In FT2Font: Could not set the fontsize (invalid pixel size; error code 0x17)
06/07/2024 10:22:52 MainProcess MainThread font_manager _load_fontmanager INFO generated new fontManager
Traceback (most recent call last):
File "__init__.cython-30.pxd", line 984, in numpy.import_array
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dani/faceswap/lib/cli/launcher.py", line 223, in execute_script
script = self._import_script()
File "/home/dani/faceswap/lib/cli/launcher.py", line 53, in _import_script
module = import_module(mod)
File "/home/dani/miniconda3/envs/faceswap/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/dani/faceswap/scripts/gui.py", line 9, in <module>
from lib.gui import (TaskBar, CliOptions, CommandNotebook, ConsoleOut, DisplayNotebook,
File "/home/dani/faceswap/lib/gui/__init__.py", line 4, in <module>
from lib.gui.command import CommandNotebook
File "/home/dani/faceswap/lib/gui/command.py", line 9, in <module>
from .control_helper import ControlPanel
File "/home/dani/faceswap/lib/gui/control_helper.py", line 15, in <module>
from .custom_widgets import ContextMenu, MultiOption, ToggledFrame, Tooltip
File "/home/dani/faceswap/lib/gui/custom_widgets.py", line 14, in <module>
from .utils import get_config
File "/home/dani/faceswap/lib/gui/utils/__init__.py", line 6, in <module>
from .image import get_images, initialize_images, preview_trigger
File "/home/dani/faceswap/lib/gui/utils/image.py", line 12, in <module>
from lib.training.preview_cv import PreviewBuffer
File "/home/dani/faceswap/lib/training/__init__.py", line 7, in <module>
from .augmentation import ImageAugmentation
File "/home/dani/faceswap/lib/training/augmentation.py", line 10, in <module>
from scipy.interpolate import griddata
File "/home/dani/miniconda3/envs/faceswap/lib/python3.10/site-packages/scipy/interpolate/__init__.py", line 167, in <module>
from ._interpolate import *
File "/home/dani/miniconda3/envs/faceswap/lib/python3.10/site-packages/scipy/interpolate/_interpolate.py", line 10, in <module>
import scipy.special as spec
File "/home/dani/miniconda3/envs/faceswap/lib/python3.10/site-packages/scipy/special/__init__.py", line 777, in <module>
from . import _ufuncs
File "scipy/special/_ufuncs.pyx", line 1, in init scipy.special._ufuncs
File "scipy/special/_ufuncs_extra_code_common.pxi", line 26, in init scipy.special._ufuncs_cxx
File "__init__.cython-30.pxd", line 986, in numpy.import_array
ImportError: numpy.core.multiarray failed to import
============ System Information ============
backend: rocm
encoding: UTF-8
git_branch: master
git_commits: c8652ec Training preview: Correctly display blur/kernel amount on mask
gpu_cuda: No global version found. Check Conda packages for Conda Cuda
gpu_cudnn: No global version found. Check Conda packages for Conda cuDNN
gpu_devices: GPU_0: 0x744c, GPU_1: 0x164e
gpu_devices_active: GPU_0, GPU_1
gpu_driver: 6.7.0
gpu_vram: GPU_0: 20464MB (19876MB free), GPU_1: 512MB (488MB free)
os_machine: x86_64
os_platform: Linux-5.15.0-107-generic-x86_64-with-glibc2.35
os_release: 5.15.0-107-generic
py_command: /home/dani/faceswap/faceswap.py gui
py_conda_version: conda 24.4.0
py_implementation: CPython
py_version: 3.10.13
py_virtual_env: True
sys_cores: 16
sys_processor: x86_64
sys_ram: Total: 31262MB, Available: 28250MB, Used: 2519MB, Free: 701MB
=============== Pip Packages ===============
absl-py==2.1.0
astunparse==1.6.3
cachetools==5.3.3
certifi==2024.6.2
charset-normalizer==3.3.2
contourpy @ file:///croot/contourpy_1700583582875/work
cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work
fastcluster @ file:///home/conda/feedstock_root/build_artifacts/fastcluster_1695649830516/work
ffmpy @ file:///home/conda/feedstock_root/build_artifacts/ffmpy_1659474992694/work
flatbuffers==24.3.25
fonttools @ file:///croot/fonttools_1713551344105/work
gast==0.4.0
google-auth==2.30.0
google-auth-oauthlib==0.4.6
google-pasta==0.2.0
grpcio==1.64.1
h5py==3.11.0
idna==3.7
imageio @ file:///croot/imageio_1707247282708/work
imageio-ffmpeg==0.5.1
joblib @ file:///croot/joblib_1713976767370/work
keras==2.10.0
Keras-Preprocessing==1.1.2
kiwisolver @ file:///croot/kiwisolver_1672387140495/work
libclang==18.1.1
Markdown==3.6
MarkupSafe==2.1.5
matplotlib @ file:///croot/matplotlib-suite_1713336378214/work
numexpr @ file:///croot/numexpr_1696515281613/work
numpy==1.22.4
oauthlib==3.2.2
opencv-python==4.10.0.82
opt-einsum==3.3.0
packaging @ file:///croot/packaging_1710807400464/work
pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
Pillow @ file:///croot/pillow_1695134008276/work
ply==3.11
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.6.0
pyasn1_modules==0.4.0
pyparsing @ file:///opt/conda/conda-bld/pyparsing_1661452539315/work
PyQt5==5.15.10
PyQt5-sip @ file:///croot/pyqt-split_1698769088074/work/pyqt_sip
python-dateutil @ file:///croot/python-dateutil_1716495738603/work
requests==2.32.3
requests-oauthlib==2.0.0
rsa==4.9
scikit-learn @ file:///croot/scikit-learn_1714164736727/work
scipy @ file:///croot/scipy_1717521478074/work/dist/scipy-1.13.1-cp310-cp310-linux_x86_64.whl#sha256=72e1e4df41ef0e003473d3ee4e02cb9badc9d85fa6066bbf1694a32fc898b8a2
sip @ file:///croot/sip_1698675935381/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-io-gcs-filesystem==0.37.0
tensorflow-rocm==2.10.1.550
termcolor==2.4.0
threadpoolctl @ file:///Users/ktietz/demo/mc3/conda-bld/threadpoolctl_1629802263681/work
tomli @ file:///opt/conda/conda-bld/tomli_1657175507142/work
tornado @ file:///croot/tornado_1696936946304/work
tqdm @ file:///croot/tqdm_1716395931952/work
typing_extensions==4.12.1
unicodedata2 @ file:///croot/unicodedata2_1713212950228/work
urllib3==2.2.1
Werkzeug==3.0.3
wrapt==1.16.0
============== Conda Packages ==============
# packages in environment at /home/dani/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 2.1.0 pypi_0 pypi
aom 3.5.0 h27087fc_0 conda-forge
astunparse 1.6.3 pypi_0 pypi
blas 1.0 openblas
brotli 1.0.9 h5eee18b_8
brotli-bin 1.0.9 h5eee18b_8
bzip2 1.0.8 h5eee18b_6
c-ares 1.19.1 h5eee18b_0
ca-certificates 2024.6.2 hbcca054_0 conda-forge
cachetools 5.3.3 pypi_0 pypi
certifi 2024.6.2 pypi_0 pypi
charset-normalizer 3.3.2 pypi_0 pypi
contourpy 1.2.0 py310hdb19cb5_0
curl 8.7.1 hdbd6064_0
cycler 0.11.0 pyhd3eb1b0_0
cyrus-sasl 2.1.28 h52b45da_1
dbus 1.13.18 hb2f20db_0
expat 2.6.2 h6a678d5_0
fastcluster 1.2.6 py310hcc13569_3 conda-forge
ffmpeg 5.1.2 gpl_h8dda1f0_106 conda-forge
ffmpy 0.3.0 pyhb6f538c_0 conda-forge
flatbuffers 24.3.25 pypi_0 pypi
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 3.000 h77eed37_0 conda-forge
font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge
font-ttf-ubuntu 0.83 h77eed37_2 conda-forge
fontconfig 2.14.2 h14ed4e7_0 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
fonttools 4.51.0 py310h5eee18b_0
freetype 2.12.1 h267a509_2 conda-forge
gast 0.4.0 pypi_0 pypi
gdbm 1.18 hd4cb3f1_4
gettext 0.21.0 h39681ba_1
giflib 5.2.1 h5eee18b_3
git 2.40.1 pl5340h36fbf9e_1
glib 2.78.4 h6a678d5_0
glib-tools 2.78.4 h6a678d5_0
gmp 6.3.0 h59595ed_1 conda-forge
gnutls 3.7.9 hb077bed_0 conda-forge
google-auth 2.30.0 pypi_0 pypi
google-auth-oauthlib 0.4.6 pypi_0 pypi
google-pasta 0.2.0 pypi_0 pypi
grpcio 1.64.1 pypi_0 pypi
gst-plugins-base 1.14.1 h6a678d5_1
gstreamer 1.14.1 h5eee18b_1
h5py 3.11.0 pypi_0 pypi
icu 73.1 h6a678d5_0
idna 3.7 pypi_0 pypi
imageio 2.33.1 py310h06a4308_0
imageio-ffmpeg 0.5.1 pypi_0 pypi
joblib 1.4.0 py310h06a4308_0
jpeg 9e h5eee18b_1
keras 2.10.0 pypi_0 pypi
keras-preprocessing 1.1.2 pypi_0 pypi
kiwisolver 1.4.4 py310h6a678d5_0
krb5 1.20.1 h143b758_1
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_8
libbrotlidec 1.0.9 h5eee18b_8
libbrotlienc 1.0.9 h5eee18b_8
libclang 18.1.1 pypi_0 pypi
libclang13 14.0.6 default_he11475f_1
libcups 2.4.2 h2d74bed_1
libcurl 8.7.1 h251f7ec_0
libdeflate 1.17 h5eee18b_1
libdrm 2.4.120 hd590300_0 conda-forge
libedit 3.1.20230828 h5eee18b_0
libev 4.33 h7f8727e_1
libffi 3.4.4 h6a678d5_1
libgcc-ng 13.2.0 h77fa898_7 conda-forge
libgfortran-ng 11.2.0 h00389a5_1
libgfortran5 11.2.0 h1234567_1
libglib 2.78.4 hdc74915_0
libgomp 13.2.0 h77fa898_7 conda-forge
libiconv 1.16 h5eee18b_3
libidn2 2.3.3 h166bdaf_0 conda-forge
libllvm14 14.0.6 hdb19cb5_3
libnghttp2 1.57.0 h2d74bed_0
libnsl 2.0.1 hd590300_0 conda-forge
libopenblas 0.3.21 h043d6bf_0
libopus 1.3.1 h7f98852_1 conda-forge
libpciaccess 0.18 hd590300_0 conda-forge
libpng 1.6.43 h2797004_0 conda-forge
libpq 12.17 hdbd6064_0
libsqlite 3.45.3 h2797004_0 conda-forge
libssh2 1.11.0 h251f7ec_0
libstdcxx-ng 13.2.0 hc0a3c3a_7 conda-forge
libtasn1 4.19.0 h166bdaf_0 conda-forge
libtiff 4.5.1 h6a678d5_0
libunistring 0.9.10 h7f98852_0 conda-forge
libuuid 2.38.1 h0b41bf4_0 conda-forge
libva 2.21.0 hd590300_0 conda-forge
libvpx 1.11.0 h9c3ff4c_3 conda-forge
libwebp 1.3.2 h11a3e52_0
libwebp-base 1.3.2 h5eee18b_0
libxcb 1.15 h0b41bf4_0 conda-forge
libxcrypt 4.4.36 hd590300_1 conda-forge
libxkbcommon 1.0.1 h5eee18b_1
libxml2 2.10.4 hfdd30dd_2
libzlib 1.2.13 h4ab18f5_6 conda-forge
lz4-c 1.9.4 h6a678d5_1
markdown 3.6 pypi_0 pypi
markupsafe 2.1.5 pypi_0 pypi
matplotlib 3.8.4 py310h06a4308_0
matplotlib-base 3.8.4 py310h1128e8f_0
mysql 5.7.24 h721c034_2
ncurses 6.4 h6a678d5_0
nettle 3.9.1 h7ab15ed_0 conda-forge
numexpr 2.8.7 py310h286c3b5_0
numpy 1.22.4 pypi_0 pypi
oauthlib 3.2.2 pypi_0 pypi
opencv-python 4.10.0.82 pypi_0 pypi
openh264 2.3.1 hcb278e6_2 conda-forge
openssl 3.3.1 h4ab18f5_0 conda-forge
opt-einsum 3.3.0 pypi_0 pypi
p11-kit 0.24.1 hc5aa10d_0 conda-forge
packaging 23.2 py310h06a4308_0
pcre2 10.42 hebb0a14_1
perl 5.34.0 h5eee18b_2
pexpect 4.8.0 pyhd3eb1b0_3
pillow 9.4.0 py310h6a678d5_1
pip 24.0 py310h06a4308_0
ply 3.11 py310h06a4308_0
protobuf 3.19.6 pypi_0 pypi
psutil 5.9.0 py310h5eee18b_0
pthread-stubs 0.4 h36c2ea0_1001 conda-forge
ptyprocess 0.7.0 pyhd3eb1b0_2
pyasn1 0.6.0 pypi_0 pypi
pyasn1-modules 0.4.0 pypi_0 pypi
pybind11-abi 4 hd3eb1b0_1
pyparsing 3.0.9 py310h06a4308_0
pyqt 5.15.10 py310h6a678d5_0
pyqt5-sip 12.13.0 py310h5eee18b_0
python 3.10.13 hd12c33a_1_cpython conda-forge
python-dateutil 2.9.0post0 py310h06a4308_2
python_abi 3.10 4_cp310 conda-forge
qt-main 5.15.2 h53bd1ea_10
readline 8.2 h5eee18b_0
requests 2.32.3 pypi_0 pypi
requests-oauthlib 2.0.0 pypi_0 pypi
rsa 4.9 pypi_0 pypi
scikit-learn 1.4.2 py310h1128e8f_1
scipy 1.13.1 py310heeff2f4_0
setuptools 69.5.1 py310h06a4308_0
sip 6.7.12 py310h6a678d5_0
six 1.16.0 pyhd3eb1b0_1
sqlite 3.45.3 h5eee18b_0
svt-av1 1.4.1 hcb278e6_0 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-io-gcs-filesystem 0.37.0 pypi_0 pypi
tensorflow-rocm 2.10.1.550 pypi_0 pypi
termcolor 2.4.0 pypi_0 pypi
threadpoolctl 2.2.0 pyh0d69192_0
tk 8.6.13 xft_h2e05e87_1 conda-forge
tomli 2.0.1 py310h06a4308_0
tornado 6.3.3 py310h5eee18b_0
tqdm 4.66.4 py310h2f386ee_0
typing-extensions 4.12.1 pypi_0 pypi
tzdata 2024a h04d1e81_0
unicodedata2 15.1.0 py310h5eee18b_0
urllib3 2.2.1 pypi_0 pypi
werkzeug 3.0.3 pypi_0 pypi
wheel 0.43.0 py310h06a4308_0
wrapt 1.16.0 pypi_0 pypi
x264 1!164.3095 h166bdaf_2 conda-forge
x265 3.5 h924138e_3 conda-forge
xorg-fixesproto 5.0 h7f98852_1002 conda-forge
xorg-kbproto 1.0.7 h7f98852_1002 conda-forge
xorg-libx11 1.8.9 h8ee46fc_0 conda-forge
xorg-libxau 1.0.11 hd590300_0 conda-forge
xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge
xorg-libxext 1.3.4 h0b41bf4_2 conda-forge
xorg-libxfixes 5.0.3 h7f98852_1004 conda-forge
xorg-libxft 2.3.8 hf69aa0a_0 conda-forge
xorg-libxrender 0.9.11 hd590300_0 conda-forge
xorg-renderproto 0.11.1 h7f98852_1002 conda-forge
xorg-xextproto 7.3.0 h0b41bf4_1003 conda-forge
xorg-xproto 7.0.31 h7f98852_1007 conda-forge
xz 5.4.6 h5eee18b_1
zlib 1.2.13 h4ab18f5_6 conda-forge
zstd 1.5.5 hc292b87_2
================= Configs ==================
--------- .faceswap ---------
backend: rocm
--------- train.ini ---------
[global]
centering: face
coverage: 87.5
icnr_init: False
conv_aware_init: False
optimizer: adam
learning_rate: 5e-05
epsilon_exponent: -7
save_optimizer: exit
lr_finder_iterations: 1000
lr_finder_mode: set
lr_finder_strength: default
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_dilation: 0
mask_blur_kernel: 3
mask_threshold: 4
learn_mask: 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
[model.dfaker]
output_size: 128
[model.villain]
lowmem: False
[model.unbalanced]
input_size: 128
lowmem: False
nodes: 1024
complexity_encoder: 128
complexity_decoder_a: 384
complexity_decoder_b: 512
[model.dfl_h128]
lowmem: False
[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.realface]
input_size: 64
output_size: 128
dense_nodes: 1536
complexity_encoder: 128
complexity_decoder: 512
[model.original]
lowmem: False
[model.dlight]
features: best
details: good
output_size: 256
[model.dfl_sae]
input_size: 128
architecture: df
autoencoder_dims: 0
encoder_dims: 42
decoder_dims: 21
multiscale_decoder: False
--------- convert.ini ---------
[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.ffmpeg]
container: mp4
codec: libx264
crf: 23
preset: medium
tune: none
profile: auto
level: auto
skip_mux: False
[writer.gif]
fps: 25
loop: 0
palettesize: 256
subrectangles: False
[writer.patch]
start_index: 0
index_offset: 0
number_padding: 6
include_filename: True
face_index_location: before
origin: bottom-left
empty_frames: blank
json_output: False
separate_mask: False
bit_depth: 16
format: png
png_compress_level: 3
tiff_compression_method: lzw
[color.manual_balance]
colorspace: HSV
balance_1: 0.0
balance_2: 0.0
balance_3: 0.0
contrast: 0.0
brightness: 0.0
[color.match_hist]
threshold: 99.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
[scaling.sharpen]
method: none
amount: 150
radius: 0.3
threshold: 5.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
[recognition.vgg_face2]
batch-size: 16
cpu: False
[align.fan]
batch-size: 12
[align.external]
file_name: import.json
origin: top-left
4_point_centering: head
[mask.unet_dfl]
batch-size: 8
[mask.vgg_obstructed]
batch-size: 2
[mask.vgg_clear]
batch-size: 6
[mask.bisenet_fp]
batch-size: 8
cpu: False
weights: faceswap
include_ears: False
include_hair: False
include_glasses: True
[mask.custom]
batch-size: 8
centering: face
fill: False
[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.s3fd]
confidence: 70
batch-size: 4
[detect.cv2_dnn]
confidence: 50
[detect.external]
file_name: import.json
origin: top-left