I can't extract and don’t know what is the reason

The Extraction process failing on you, and you aren't getting an error back with clear instructions? Tell us about it here


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for reporting errors with the Extraction process. If you want to get tips, or better understand the Extract process, then you should look in the Extract Discussion forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
Max
Posts: 4
Joined: Tue Sep 10, 2019 10:03 am

I can't extract and don’t know what is the reason

Post by Max »

[mod]Topic locked as code has moved on since this issue.[/mod]

A few seconds after clicking Extract, my graphics card crashes, and after Windows closes the python program. But I still did not understand which python program is closing. The error log displays the following:

Code: Select all

Loading...
Setting Faceswap backend to NVIDIA
09/11/2019 00:20:16 INFO     Log level set to: INFO
09/11/2019 00:20:20 INFO     Output Directory: C:\Users\Админ\Downloads\Output_folder
09/11/2019 00:20:20 INFO     Input Video: C:\Users\Админ\Downloads\pres.mp4
09/11/2019 00:20:20 INFO     Loading Detect from S3Fd plugin...
09/11/2019 00:20:20 INFO     Loading Align from Fan plugin...
09/11/2019 00:20:20 INFO     Starting, this may take a while...
WARNING: Logging before flag parsing goes to stderr.
I0911 00:20:28.243700 12468 _base.py:122] Executing detector run function
I0911 00:20:28.243700 12468 _base.py:83] initialize Detect (PID: 12876, args: (), kwargs: {'event': <multiprocessing.synchronize.Event object at 0x0000000002DA0EB8>, 'error': <multiprocessing.synchronize.Event object at 0x00000000045702B0>, 'log_init': <function set_root_logger at 0x0000000002E5A840>, 'log_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0xbdbe048>, 'log_level': 10, 'in_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0xbdbe198>, 'out_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0xbdbe240>})
I0911 00:20:28.243700 12468 s3fd.py:33] Initializing S3FD Detector...
I0911 00:20:28.243700 12468 gpu_stats.py:34] Initializing GPUStats
I0911 00:20:28.243700 12468 gpu_stats.py:84] OS is not macOS. Using pynvml
I0911 00:20:28.914501 12468 gpu_stats.py:136] GPU Device count: 1
I0911 00:20:28.914501 12468 gpu_stats.py:151] Active GPU Devices: [0]
I0911 00:20:28.930101 12468 gpu_stats.py:163] GPU Handles found: 1
I0911 00:20:28.930101 12468 gpu_stats.py:177] GPU Driver: 426.00
I0911 00:20:28.930101 12468 gpu_stats.py:194] GPU Devices: ['GeForce GT 740M']
I0911 00:20:28.976901 12468 gpu_stats.py:212] GPU VRAM: [2048.0]
I0911 00:20:28.976901 12468 gpu_stats.py:57] Initialized GPUStats
I0911 00:20:28.976901 12468 gpu_stats.py:84] OS is not macOS. Using pynvml09/11/2019 00:20:29 WARNING  From C:\Users\Админ\faceswap\plugins\extract\detect\s3fd.py:142: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.\n

I0911 00:20:28.976901 12468 gpu_stats.py:136] GPU Device count: 109/11/2019 00:20:29 WARNING  From C:\Users\Админ\faceswap\plugins\extract\detect\s3fd.py:143: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.\n

I0911 00:20:28.976901 12468 gpu_stats.py:151] Active GPU Devices: [0]
I0911 00:20:28.992501 12468 gpu_stats.py:163] GPU Handles found: 1
I0911 00:20:29.023701 12468 gpu_stats.py:252] GPU VRAM free: [1986.1875]
I0911 00:20:29.023701 12468 gpu_stats.py:271] Active GPU Card with most free VRAM: {'card_id': 0, 'device': 'GeForce GT 740M', 'free': 1986.1875, 'total': 2048.0}
I0911 00:20:29.023701 12468 _base.py:362] Using device GeForce GT 740M with 1986MB free of 2048MB
I0911 00:20:29.023701 12468 s3fd.py:41] Reserving 100.0% of total VRAM per s3fd thread
I0911 00:20:29.023701 12468 s3fd.py:125] Initializing: S3fd: (model_path: 'C:\Users\Админ\faceswap\plugins\extract\detect\.cache\s3fd_v1.pb', target_size: (640, 640), vram_ratio: 1.0, card_id: 0)
I0911 00:20:29.039301 12468 s3fd.py:141] Initializing S3FD Network model...
W0911 00:20:29.039301 12468 deprecation_wrapper.py:119] From C:\Users\Админ\faceswap\plugins\extract\detect\s3fd.py:142: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.

W0911 00:20:29.039301 12468 deprecation_wrapper.py:119] From C:\Users\Админ\faceswap\plugins\extract\detect\s3fd.py:143: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.

I0911 00:20:31.004904 12468 s3fd.py:155] tensor_names: ['concat_31', 'transpose_72', 'transpose_75', 'transpose_78', 'transpose_81', 'transpose_84', 'transpose_87', 'transpose_90', 'transpose_93', 'transpose_96', 'transpose_99', 'transpose_102']
I0911 00:20:31.004904 12468 s3fd.py:158] tensors: [<tf.Tensor 's3fd/concat_31:0' shape=(?, 2, ?, ?) dtype=float32>, <tf.Tensor 's3fd/transpose_72:0' shape=(?, 4, ?, ?) dtype=float32>, <tf.Tensor 's3fd/transpose_75:0' shape=(?, 2, ?, ?) dtype=float32>, <tf.Tensor 's3fd/transpose_78:0' shape=(?, 4, ?, ?) dtype=float32>, <tf.Tensor 's3fd/transpose_81:0' shape=(?, 2, ?, ?) dtype=float32>, <tf.Tensor 's3fd/transpose_84:0' shape=(?, 4, ?, ?) dtype=float32>, <tf.Tensor 's3fd/transpose_87:0' shape=(?, 2, ?, ?) dtype=float32>, <tf.Tensor 's3fd/transpose_90:0' shape=(?, 4, ?, ?) dtype=float32>, <tf.Tensor 's3fd/transpose_93:0' shape=(?, 2, ?, ?) dtype=float32>, <tf.Tensor 's3fd/transpose_96:0' shape=(?, 4, ?, ?) dtype=float32>, <tf.Tensor 's3fd/transpose_99:0' shape=(?, 2, ?, ?) dtype=float32>, <tf.Tensor 's3fd/transpose_102:0' shape=(?, 4, ?, ?) dtype=float32>]
W0911 00:20:31.004904 12468 deprecation_wrapper.py:119] From C:\Users\Админ\faceswap\plugins\extract\detect\s3fd.py:165: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.

W0911 00:20:31.020504 12468 deprecation_wrapper.py:119] From C:\Users\Админ\faceswap\plugins\extract\detect\s3fd.py:172: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

2019-09-11 00:21:05.652565: E tensorflow/stream_executor/cuda/cuda_driver.cc:1003] failed to synchronize the stop event: CUDA_ERROR_LAUNCH_TIMEOUT: the launch timed out and was terminated
2019-09-11 00:21:05.652565: E tensorflow/stream_executor/gpu/gpu_timer.cc:55] Internal: error destroying CUDA event in context 0x24758120: CUDA_ERROR_LAUNCH_TIMEOUT: the launch timed out and was terminated
2019-09-11 00:21:05.652565: E tensorflow/stream_executor/gpu/gpu_timer.cc:60] Internal: error destroying CUDA event in context 0x24758120: CUDA_ERROR_LAUNCH_TIMEOUT: the launch timed out and was terminated
2019-09-11 00:21:05.652565: F tensorflow/stream_executor/cuda/cuda_dnn.cc:189] Check failed: status == CUDNN_STATUS_SUCCESS (7 vs. 0)Failed to set cuDNN stream.

I'm new to such things, pls help

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: I can't extract and don’t know what is the reason

Post by torzdf »

Enable "Single-Process"

There is a bug with s3fd, but it is likely to be fixed soon.

My word is final

User avatar
Max
Posts: 4
Joined: Tue Sep 10, 2019 10:03 am

Re: I can't extract and don’t know what is the reason

Post by Max »

The same problem with enabled single-process

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: I can't extract and don’t know what is the reason

Post by torzdf »

The problem is related to Tensorflow 1.14.

Like I say, a fix is coming. In the meantime you can try using a different detector or downgrade to Tensorflow 1.13

My word is final

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: I can't extract and don’t know what is the reason

Post by torzdf »

Extract has been reworked and pushed to master. Please get the latest code and let me know if the problem persists.

My word is final

User avatar
Max
Posts: 4
Joined: Tue Sep 10, 2019 10:03 am

Re: I can't extract and don’t know what is the reason

Post by Max »

I updated the program and restarted it. Started the extraction, but after 5 minutes when the scale of the percentage of extraction reached 4%, the python stopped responding and suggested closing it.

After the second attempt to extract, my graphic card also stopped responding. :(

Maybe the problem is in my laptop? Its features are as follows:
Intel Core i7-4700HQ, @ 2.4 GHz 2.4 GHz
RAM 8 Gb
Nvidia GeForce GT 740M

Code: Select all

09/22/2019 15:59:07 MainProcess     MainThread      logger          log_setup                 INFO     Log level set to: INFO
09/22/2019 15:59:08 MainProcess     MainThread      extract         __init__                  INFO     Output Directory: C:\Users\Админ\Downloads\Output_folder
09/22/2019 15:59:08 MainProcess     MainThread      fsmedia         check_input_folder        INFO     Input Video: C:\Users\Админ\Downloads\qwerty (online-video-cutter.com).mp4
09/22/2019 15:59:08 MainProcess     MainThread      plugin_loader   _import                   INFO     Loading Detect from S3Fd plugin...
09/22/2019 15:59:08 MainProcess     MainThread      plugin_loader   _import                   INFO     Loading Align from Fan plugin...
09/22/2019 15:59:09 MainProcess     MainThread      extract         process                   INFO     Starting, this may take a while...
09/22/2019 15:59:09 MainProcess     MainThread      _base           initialize                INFO     Initializing S3FD Detector...
09/22/2019 15:59:09 MainProcess     MainThread      deprecation_wrapper __getattr__               WARNING  From C:\Users\Админ\faceswap\lib\model\session.py:105: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.\n
09/22/2019 15:59:09 MainProcess     MainThread      deprecation_wrapper __getattr__               WARNING  From C:\Users\Админ\faceswap\lib\model\session.py:106: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.\n
09/22/2019 15:59:10 MainProcess     MainThread      deprecation_wrapper __getattr__               WARNING  From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:517: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.\n
09/22/2019 15:59:10 MainProcess     MainThread      deprecation_wrapper __getattr__               WARNING  From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:245: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.\n
09/22/2019 15:59:10 MainProcess     MainThread      deprecation_wrapper __getattr__               WARNING  From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:174: The name tf.get_default_session is deprecated. Please use tf.compat.v1.get_default_session instead.\n
09/22/2019 15:59:10 MainProcess     MainThread      deprecation_wrapper __getattr__               WARNING  From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:3976: The name tf.nn.max_pool is deprecated. Please use tf.nn.max_pool2d instead.\n
09/22/2019 15:59:11 MainProcess     MainThread      deprecation_wrapper __getattr__               WARNING  From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\optimizers.py:790: The name tf.train.Optimizer is deprecated. Please use tf.compat.v1.train.Optimizer instead.\n
09/22/2019 15:59:12 MainProcess     MainThread      _base           initialize                INFO     Initialized S3FD Detector with batchsize of 1

Code: Select all

Loading...
Setting Faceswap backend to NVIDIA
09/22/2019 15:47:43 INFO     Log level set to: INFO
09/22/2019 15:47:50 INFO     Output Directory: C:\Users\Админ\Downloads\Output_folder
09/22/2019 15:47:50 INFO     Input Video: C:\Users\Админ\Downloads\qwerty.mp4
09/22/2019 15:47:54 INFO     Loading Detect from S3Fd plugin...
09/22/2019 15:47:54 INFO     Loading Align from Fan plugin...
09/22/2019 15:47:55 WARNING  Not enough free VRAM for parallel processing. Switching to serial
09/22/2019 15:47:55 INFO     Starting, this may take a while...
09/22/2019 15:47:55 INFO     Initializing S3FD Detector...
09/22/2019 15:47:56 WARNING  From C:\Users\Админ\faceswap\lib\model\session.py:105: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.\n
09/22/2019 15:47:56 WARNING  From C:\Users\Админ\faceswap\lib\model\session.py:106: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.\n
09/22/2019 15:48:12 WARNING  From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:517: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.\n
09/22/2019 15:48:13 WARNING  From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:245: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.\n
09/22/2019 15:48:13 WARNING  From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:174: The name tf.get_default_session is deprecated. Please use tf.compat.v1.get_default_session instead.\n
09/22/2019 15:48:14 WARNING  From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:3976: The name tf.nn.max_pool is deprecated. Please use tf.nn.max_pool2d instead.\n
09/22/2019 15:48:23 WARNING  From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\optimizers.py:790: The name tf.train.Optimizer is deprecated. Please use tf.compat.v1.train.Optimizer instead.\n
09/22/2019 15:48:24 INFO     Initialized S3FD Detector with batchsize of 1

2019-09-22 15:51:03.477174: E tensorflow/stream_executor/cuda/cuda_driver.cc:1032] could not synchronize on CUDA context: CUDA_ERROR_LAUNCH_TIMEOUT: the launch timed out and was terminated ::
2019-09-22 15:51:03.477174: E tensorflow/stream_executor/cuda/cuda_event.cc:29] Error polling for event status: failed to query event: CUDA_ERROR_LAUNCH_TIMEOUT: the launch timed out and was terminated
2019-09-22 15:51:03.492774: F tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc:273] Unexpected Event status: 1
User avatar
Max
Posts: 4
Joined: Tue Sep 10, 2019 10:03 am

Re: I can't extract and don’t know what is the reason

Post by Max »

Here is "Output system info" if it's necessary

Code: Select all

============ System Information ============
encoding:            cp1251
git_branch:          master
git_commits:         d759631 Increase timeout for ffmpeg count frames and secs. 1cdbc5e Update cli for MTCNN. a14bb9d extract: Autoset batchsize if it is too large in singleprocess mode. feb5f75 set mtcnn Nvidia defaults. b7cd51a Optimized mtcnn a bit + added batching (#874)
gpu_cuda:            10.1
gpu_cudnn:           No global version found. Check Conda packages for Conda cuDNN
gpu_devices:         GPU_0: GeForce GT 740M
gpu_devices_active:  GPU_0
gpu_driver:          426.00
gpu_vram:            GPU_0: 2048MB
os_machine:          AMD64
os_platform:         Windows-7-6.1.7601-SP1
os_release:          7
py_command:          faceswap.py gui
py_conda_version:    conda 4.7.10
py_implementation:   CPython
py_version:          3.6.9
py_virtual_env:      True
sys_cores:           8
sys_processor:       Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
sys_ram:             Total: 8076MB, Available: 4403MB, Used: 3673MB, Free: 4403MB

=============== Pip Packages ===============
absl-py==0.7.1
astor==0.8.0
certifi==2019.6.16
cloudpickle==1.2.1
cycler==0.10.0
cytoolz==0.10.0
dask==2.3.0
decorator==4.4.0
fastcluster==1.1.25
ffmpy==0.2.2
gast==0.2.2
grpcio==1.16.1
h5py==2.9.0
imageio==2.5.0
imageio-ffmpeg==0.3.0
joblib==0.13.2
Keras==2.2.4
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
kiwisolver==1.1.0
Markdown==3.1.1
matplotlib==2.2.2
mkl-fft==1.0.14
mkl-random==1.0.2
mkl-service==2.3.0
networkx==2.3
numpy==1.16.2
nvidia-ml-py3==7.352.1
olefile==0.46
opencv-python==4.1.1.26
pathlib==1.0.1
Pillow==6.1.0
protobuf==3.8.0
psutil==5.6.3
pyparsing==2.4.2
pyreadline==2.1
python-dateutil==2.8.0
pytz==2019.2
PyWavelets==1.0.3
pywin32==223
PyYAML==5.1.2
scikit-image==0.15.0
scikit-learn==0.21.2
scipy==1.3.1
six==1.12.0
tensorboard==1.14.0
tensorflow==1.14.0
tensorflow-estimator==1.14.0
termcolor==1.1.0
toolz==0.10.0
toposort==1.5
tornado==6.0.3
tqdm==4.32.1
Werkzeug==0.15.5
wincertstore==0.2
wrapt==1.11.2

============== Conda Packages ==============
# packages in environment at C:\ProgramData\Anaconda3\envs\faceswap:
#
# Name                    Version                   Build  Channel
_tflow_select             2.1.0                       gpu  
absl-py 0.7.1 py36_0
astor 0.8.0 py36_0
blas 1.0 mkl
ca-certificates 2019.5.15 1
certifi 2019.6.16 py36_1
cloudpickle 1.2.1 py_0
cudatoolkit 10.0.130 0
cudnn 7.6.0 cuda10.0_0
cycler 0.10.0 py36h009560c_0
cytoolz 0.10.0 py36he774522_0
dask-core 2.3.0 py_0
decorator 4.4.0 py36_1
fastcluster 1.1.25 py36h830ac7b_1000 conda-forge ffmpeg 4.2 h6538335_0 conda-forge ffmpy 0.2.2 pypi_0 pypi freetype 2.9.1 ha9979f8_1
gast 0.2.2 py36_0
grpcio 1.16.1 py36h351948d_1
h5py 2.9.0 py36h5e291fa_0
hdf5 1.10.4 h7ebc959_0
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha66f8fd_1
imageio 2.5.0 py36_0
imageio-ffmpeg 0.3.0 py_0 conda-forge intel-openmp 2019.4 245
joblib 0.13.2 py36_0
jpeg 9b hb83a4c4_2
keras 2.2.4 0
keras-applications 1.0.8 py_0
keras-base 2.2.4 py36_0
keras-preprocessing 1.1.0 py_1
kiwisolver 1.1.0 py36ha925a31_0
libmklml 2019.0.5 0
libpng 1.6.37 h2a8f88b_0
libprotobuf 3.8.0 h7bd577a_0
libtiff 4.0.10 hb898794_2
markdown 3.1.1 py36_0
matplotlib 2.2.2 py36had4c4a9_2
mkl 2019.4 245
mkl-service 2.3.0 py36hb782905_0
mkl_fft 1.0.14 py36h14836fe_0
mkl_random 1.0.2 py36h343c172_0
networkx 2.3 py_0
numpy 1.16.2 py36h19fb1c0_0
numpy-base 1.16.2 py36hc3f5095_0
nvidia-ml-py3 7.352.1 pypi_0 pypi olefile 0.46 py36_0
opencv-python 4.1.1.26 pypi_0 pypi openssl 1.1.1c he774522_1
pathlib 1.0.1 py36_1
pillow 6.1.0 py36hdc69c19_0
pip 19.2.2 py36_0
protobuf 3.8.0 py36h33f27b4_0
psutil 5.6.3 py36he774522_0
pyparsing 2.4.2 py_0
pyqt 5.9.2 py36h6538335_2
pyreadline 2.1 py36_1
python 3.6.9 h5500b2f_0
python-dateutil 2.8.0 py36_0
pytz 2019.2 py_0
pywavelets 1.0.3 py36h8c2d366_1
pywin32 223 py36hfa6e2cd_1
pyyaml 5.1.2 py36he774522_0
qt 5.9.7 vc14h73c81de_0
scikit-image 0.15.0 py36ha925a31_0
scikit-learn 0.21.2 py36h6288b17_0
scipy 1.3.1 py36h29ff71c_0
setuptools 41.0.1 py36_0
sip 4.19.8 py36h6538335_0
six 1.12.0 py36_0
sqlite 3.29.0 he774522_0
tensorboard 1.14.0 py36he3c9ec2_0
tensorflow 1.14.0 gpu_py36h305fd99_0
tensorflow-base 1.14.0 gpu_py36h55fc52a_0
tensorflow-estimator 1.14.0 py_0
tensorflow-gpu 1.14.0 h0d30ee6_0
termcolor 1.1.0 py36_1
tk 8.6.8 hfa6e2cd_0
toolz 0.10.0 py_0
toposort 1.5 py_3 conda-forge tornado 6.0.3 py36he774522_0
tqdm 4.32.1 py_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.16.27012 hf0eaf9b_0
werkzeug 0.15.5 py_0
wheel 0.33.4 py36_0
wincertstore 0.2 py36h7fe50ca_0
wrapt 1.11.2 py36he774522_0
xz 5.2.4 h2fa13f4_4
yaml 0.1.7 hc54c509_2
zlib 1.2.11 h62dcd97_3
zstd 1.3.7 h508b16e_0 ================= Configs ================== --------- .faceswap --------- backend: nvidia --------- convert.ini --------- [color.color_transfer] clip: True preserve_paper: True [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 [mask.box_blend] type: gaussian distance: 11.0 radius: 5.0 passes: 1 [mask.mask_blend] type: normalized radius: 3.0 passes: 4 erosion: 0.0 [scaling.sharpen] method: unsharp_mask amount: 150 radius: 0.3 threshold: 5.0 [writer.ffmpeg] container: mp4 codec: libx264 crf: 23 preset: medium tune: none profile: auto level: auto [writer.gif] fps: 25 loop: 0 palettesize: 256 subrectangles: False [writer.opencv] format: png draw_transparent: False jpg_quality: 75 png_compress_level: 3 [writer.pillow] format: png draw_transparent: False optimize: False gif_interlace: True jpg_quality: 75 png_compress_level: 3 tif_compression: tiff_deflate --------- extract.ini --------- [align.fan] batch-size: 8 [detect.cv2_dnn] confidence: 50 [detect.mtcnn] minsize: 20 threshold_1: 0.6 threshold_2: 0.7 threshold_3: 0.7 scalefactor: 0.709 batch-size: 8 [detect.s3fd] confidence: 50 batch-size: 8 --------- gui.ini --------- [global] fullscreen: False tab: extract options_panel_width: 30 console_panel_height: 20 font: default font_size: 9 --------- train.ini --------- [global] coverage: 68.75 mask_type: none mask_blur: False icnr_init: False conv_aware_init: False subpixel_upscaling: False reflect_padding: False penalized_mask_loss: True loss_function: mae learning_rate: 5e-05 [model.dfl_h128] lowmem: False [model.dfl_sae] input_size: 128 clipnorm: True architecture: df autoencoder_dims: 0 encoder_dims: 42 decoder_dims: 21 multiscale_decoder: False [model.original] lowmem: False [model.realface] input_size: 64 output_size: 128 dense_nodes: 1536 complexity_encoder: 128 complexity_decoder: 512 [model.unbalanced] input_size: 128 lowmem: False clipnorm: True nodes: 1024 complexity_encoder: 128 complexity_decoder_a: 384 complexity_decoder_b: 512 [model.villain] lowmem: False [trainer.original] preview_images: 14 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
User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: I can't extract and don’t know what is the reason

Post by torzdf »

That is a pretty low-end GPU, but it should work...

In the first instance, try removing your system-wide installed Cuda. You don't need it, and it can conflict with the version in Conda that Faceswap installs. Reboot your PC and try again.

If it still doesn't work, then I suggest using the MTCNN detector.

My word is final

Locked