To preface this, I'm not very good when it comes to python coding and figuring all relevant software necessary - I hope this is a simple issue of updating something or deleting something.
I've been getting a lot of errors and "CRITICAL An unexpected crash..." and such when I am using the Windows GUI faceswap program. In the output, there's a startling number of lines saying that certain files are depreciated. It also seems like there's something wrong with CUDA/CUDNN because I tend to see a lot of errors around this - "CUDNN_STATUS_ALLOC_FAILED" as an example. Earlier, I deleted everything python (following the uninstall guide somewhere on these forums,) installed the latest CUDA, Version 10.1, Update 2, and did a full re-install of faceswap, allowing it to re download and install all relevant software. I still get these errors and crashes. In addition to this, I seem to not be utilizing my GPU at all - I could be wrong, but monitoring task manager, I can see my CPU go to 100% during extraction and my GPU sit at 0%. This is a near-brand new computer with a Ryzen 3700 and 2070 Super, so I was still extracting incredibly fast, but it seems like something with the Nvidia CUDA/CUDNN problems are preventing my GPU from shouldering most of the weight.
So to summarize, I'm getting errors and problems, and they seem to be in 3 areas - CUDA/CUDNN, depreciated files (usually the files have the suffix, "tn." - tn.gfile.GFile" as an example, and no GPU usage.
I have a lot of crash dumps saved, but I'll attach the most recent - again, I hope this is something I just need to install, delete, or reinstall.
Crash report:
Code: Select all
run_metadata)
File "C:\Users\Terfy\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\client\session,py", line 1370, in _do_call
raise type(e)(node_def, op, message)
tensorflow,python,framework,errors_impl,UnknownError: 2 root error(s) found,
(0) Unknown: Failed to get convolution algorithm, This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above,
[[node s3fd/convolution (defined at C:\Users\Terfy\faceswap\plugins\extract\detect\s3fd,py:147) ]]
[[s3fd/transpose_78/_19]]
(1) Unknown: Failed to get convolution algorithm, This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above,
[[node s3fd/convolution (defined at C:\Users\Terfy\faceswap\plugins\extract\detect\s3fd,py:147) ]]
0 successful operations,
0 derived errors ignored,
Original stack trace for 's3fd/convolution':
File "<string>", line 1, in <module>
File "C:\Users\Terfy\MiniConda3\envs\faceswap\lib\multiprocessing\spawn,py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\Terfy\MiniConda3\envs\faceswap\lib\multiprocessing\spawn,py", line 118, in _main
return self,_bootstrap()
File "C:\Users\Terfy\MiniConda3\envs\faceswap\lib\multiprocessing\process,py", line 258, in _bootstrap
self,run()
File "C:\Users\Terfy\faceswap\lib\multithreading,py", line 362, in run
super(),run()
File "C:\Users\Terfy\MiniConda3\envs\faceswap\lib\multiprocessing\process,py", line 93, in run
self,_target(*self,_args, **self,_kwargs)
File "C:\Users\Terfy\faceswap\plugins\extract\detect\_base,py", line 123, in run
self,detect_faces(*args, **kwargs)
File "C:\Users\Terfy\faceswap\plugins\extract\detect\s3fd,py", line 75, in detect_faces
super(),detect_faces(*args, **kwargs)
File "C:\Users\Terfy\faceswap\plugins\extract\detect\_base,py", line 95, in detect_faces
self,initialize(*args, **kwargs)
File "C:\Users\Terfy\faceswap\plugins\extract\detect\s3fd,py", line 44, in initialize
self,model = S3fd(self,model_path, self,target, tf_ratio, card_id, confidence)
File "C:\Users\Terfy\faceswap\plugins\extract\detect\s3fd,py", line 132, in __init__
self,graph = self,load_graph()
File "C:\Users\Terfy\faceswap\plugins\extract\detect\s3fd,py", line 147, in load_graph
self,tf,import_graph_def(graph_def, name="s3fd")
File "C:\Users\Terfy\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\util\deprecation,py", line 507, in new_func
return func(*args, **kwargs)
File "C:\Users\Terfy\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\importer,py", line 443, in import_graph_def
_ProcessNewOps(graph)
File "C:\Users\Terfy\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\importer,py", line 236, in _ProcessNewOps
for new_op in graph,_add_new_tf_operations(compute_devices=False): # pylint: disable=protected-access
File "C:\Users\Terfy\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 3751, in _add_new_tf_operations
for c_op in c_api_util,new_tf_operations(self)
File "C:\Users\Terfy\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 3751, in <listcomp>
for c_op in c_api_util,new_tf_operations(self)
File "C:\Users\Terfy\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 3641, in _create_op_from_tf_operation
ret = Operation(c_op, self)
File "C:\Users\Terfy\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 2005, in __init__
self,_traceback = tf_stack,extract_stack()
Traceback (most recent call last):
File "C:\Users\Terfy\faceswap\lib\cli,py", line 125, in execute_script
process,process()
File "C:\Users\Terfy\faceswap\scripts\extract,py", line 62, in process
self,run_extraction()
File "C:\Users\Terfy\faceswap\scripts\extract,py", line 189, in run_extraction
self,extractor,launch()
File "C:\Users\Terfy\faceswap\plugins\extract\pipeline,py", line 172, in launch
self,launch_detector()
File "C:\Users\Terfy\faceswap\plugins\extract\pipeline,py", line 238, in launch_detector
raise ValueError("Error initializing Detector")
ValueError: Error initializing Detector
============ System Information ============
encoding: cp1252
git_branch: master
git_commits: 3159cb6 GUI Fixups
gpu_cuda: 10,1
gpu_cudnn: No global version found, Check Conda packages for Conda cuDNN
gpu_devices: GPU_0: GeForce RTX 2070 SUPER
gpu_devices_active: GPU_0
gpu_driver: 436,15
gpu_vram: GPU_0: 8192MB
os_machine: AMD64
os_platform: Windows-10-10,0,18362-SP0
os_release: 10
py_command: C:\Users\Terfy\faceswap\faceswap,py extract -i D:/_AOA/MINA -o D:/faceswap/MINA/EXTRACTION/mina_extract -D s3fd -A fan -nm hist -min 20 -l 0,4 -bt 0,0 -een 1 -sz 256 -si 0 -L INFO -gui
py_conda_version: conda 4,7,11
py_implementation: CPython
py_version: 3,6,9
py_virtual_env: True
sys_cores: 16
sys_processor: AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD
sys_ram: Total: 16302MB, Available: 11504MB, Used: 4798MB, Free: 11504MB
=============== 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,0,2
networkx==2,3
numpy==1,16,2
nvidia-ml-py3==7,352,1
olefile==0,46
opencv-python==4,1,0,25
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:\Users\Terfy\MiniConda3\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,0,2 py36he774522_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,0,25 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,15,26706 h3a45250_4
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
Output log with errors:
Code: Select all
Loading,,,
Setting Faceswap backend to NVIDIA
08/29/2019 07:15:14 INFO Log level set to: INFO
08/29/2019 07:15:16 INFO Output Directory: D:\faceswap\set_1\EXTRACTION\set_1_extract
08/29/2019 07:15:16 INFO Input Directory: D:\_try_1\set_1
08/29/2019 07:15:16 INFO Loading Detect from S3Fd plugin,,,
08/29/2019 07:15:16 INFO Loading Align from Fan plugin,,,
08/29/2019 07:15:16 INFO Starting, this may take a while,,,
WARNING: Logging before flag parsing goes to stderr,08/29/2019 07:15:19 INFO Initializing Face Alignment Network,,,
I0829 07:15:19,122668 15792 fan,py:30] Initializing Face Alignment Network,,,
I0829 07:15:19,122668 15792 fan,py:31] fan initialize: (args: () kwargs: {'event': <multiprocessing,synchronize,Event object at 0x0000023014FD0CF8>, 'error': <multiprocessing,synchronize,Event object at 0x0000023016A0DBA8>, 'log_init': <function set_root_logger at 0x00000230152888C8>, 'log_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x2301d901828>, 'log_level': 10, 'in_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x2301d901940>, 'out_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x2301d9019b0>})
I0829 07:15:19,122668 15792 gpu_stats,py:34] Initializing GPUStats
I0829 07:15:19,123589 15792 gpu_stats,py:84] OS is not macOS, Using pynvml
I0829 07:15:19,126615 15792 gpu_stats,py:136] GPU Device count: 1
I0829 07:15:19,127618 15792 gpu_stats,py:151] Active GPU Devices: [0]08/29/2019 07:15:19 WARNING From C:\Users\user\faceswap\plugins\extract\align\fan,py:206: The name tf,gfile,GFile is deprecated, Please use tf,io,gfile,GFile instead,\n
I0829 07:15:19,133678 15792 gpu_stats,py:163] GPU Handles found: 1
I0829 07:15:19,133678 15792 gpu_stats,py:177] GPU Driver: 436,15
I0829 07:15:19,133678 15792 gpu_stats,py:194] GPU Devices: ['GeForce RTX 2070 SUPER']
I0829 07:15:19,142625 15792 gpu_stats,py:212] GPU VRAM: [8192,0]
I0829 07:15:19,143619 15792 gpu_stats,py:57] Initialized GPUStats
I0829 07:15:19,143619 15792 gpu_stats,py:84] OS is not macOS, Using pynvml
I0829 07:15:19,143619 15792 gpu_stats,py:136] GPU Device count: 1
I0829 07:15:19,143619 15792 gpu_stats,py:151] Active GPU Devices: [0]
I0829 07:15:19,150665 15792 gpu_stats,py:163] GPU Handles found: 1
I0829 07:15:19,158623 15792 gpu_stats,py:252] GPU VRAM free: [7468,01171875]
I0829 07:15:19,158623 15792 gpu_stats,py:271] Active GPU Card with most free VRAM: {'card_id': 0, 'device': 'GeForce RTX 2070 SUPER', 'free': 7468,01171875, 'total': 8192,0}
I0829 07:15:19,158623 15792 _base,py:232] Using device GeForce RTX 2070 SUPER with 7468MB free of 8192MB
I0829 07:15:19,158623 15792 fan,py:39] Reserving 2240MB for face alignments
I0829 07:15:19,159623 15792 fan,py:204] Initializing Face Alignment Network model,,,
W0829 07:15:19,159623 15792 deprecation_wrapper,py:119] From C:\Users\user\faceswap\plugins\extract\align\fan,py:206: The name tf,gfile,GFile is deprecated, Please use tf,io,gfile,GFile instead,
W0829 07:15:19,159623 15792 deprecation_wrapper,py:119] From C:\Users\user\faceswap\plugins\extract\align\fan,py:207: The name tf,GraphDef is deprecated, Please use tf,compat,v1,GraphDef instead,
W0829 07:15:22,090283 15792 deprecation_wrapper,py:119] From C:\Users\user\faceswap\plugins\extract\align\fan,py:219: The name tf,ConfigProto is deprecated, Please use tf,compat,v1,ConfigProto instead,08/29/2019 07:15:22 WARNING From C:\Users\user\faceswap\plugins\extract\align\fan,py:219: The name tf,ConfigProto is deprecated, Please use tf,compat,v1,ConfigProto instead,\n
08/29/2019 07:15:22 WARNING From C:\Users\user\faceswap\plugins\extract\align\fan,py:221: The name tf,Session is deprecated, Please use tf,compat,v1,Session instead,\n
I0829 07:15:22,608215 15792 fan,py:224] Using GPU
I0829 07:15:28,332659 15792 fan,py:44] Initialized Face Alignment Network,08/29/2019 07:15:28 INFO Initialized Face Alignment Network,
I0829 07:15:28,333660 15792 _base,py:128] Launching Align: (args: () kwargs: {'event': <multiprocessing,synchronize,Event object at 0x0000023014FD0CF8>, 'error': <multiprocessing,synchronize,Event object at 0x0000023016A0DBA8>, 'log_init': <function set_root_logger at 0x00000230152888C8>, 'log_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x2301d901828>, 'log_level': 10, 'in_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x2301d901940>, 'out_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x2301d9019b0>})
WARNING: Logging before flag parsing goes to stderr,08/29/2019 07:15:30 INFO Initializing S3FD Detector,,,
I0829 07:15:30,647670 15596 _base,py:83] initialize Detect (PID: 11808, args: (), kwargs: {'event': <multiprocessing,synchronize,Event object at 0x0000024399140CF8>, 'error': <multiprocessing,synchronize,Event object at 0x000002439AB8DBA8>, 'log_init': <function set_root_logger at 0x00000243993F88C8>, 'log_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x243a1d00828>, 'log_level': 10, 'in_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x243a1d00940>, 'out_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x243a1d009b0>})08/29/2019 07:15:30 WARNING From C:\Users\user\faceswap\plugins\extract\detect\s3fd,py:142: The name tf,gfile,GFile is deprecated, Please use tf,io,gfile,GFile instead,\n
I0829 07:15:30,647670 15596 s3fd,py:33] Initializing S3FD Detector,,,
I0829 07:15:30,647670 15596 gpu_stats,py:34] Initializing GPUStats
I0829 07:15:30,647670 15596 gpu_stats,py:84] OS is not macOS, Using pynvml
I0829 07:15:30,651698 15596 gpu_stats,py:136] GPU Device count: 1
I0829 07:15:30,652706 15596 gpu_stats,py:151] Active GPU Devices: [0]
I0829 07:15:30,658714 15596 gpu_stats,py:163] GPU Handles found: 1
I0829 07:15:30,658714 15596 gpu_stats,py:177] GPU Driver: 436,15
I0829 07:15:30,658714 15596 gpu_stats,py:194] GPU Devices: ['GeForce RTX 2070 SUPER']
I0829 07:15:30,667744 15596 gpu_stats,py:212] GPU VRAM: [8192,0]
I0829 07:15:30,668699 15596 gpu_stats,py:57] Initialized GPUStats
I0829 07:15:30,668699 15596 gpu_stats,py:84] OS is not macOS, Using pynvml
I0829 07:15:30,669683 15596 gpu_stats,py:136] GPU Device count: 1
I0829 07:15:30,669683 15596 gpu_stats,py:151] Active GPU Devices: [0]
I0829 07:15:30,675701 15596 gpu_stats,py:163] GPU Handles found: 1
I0829 07:15:30,682721 15596 gpu_stats,py:252] GPU VRAM free: [4735,88671875]
I0829 07:15:30,683706 15596 gpu_stats,py:271] Active GPU Card with most free VRAM: {'card_id': 0, 'device': 'GeForce RTX 2070 SUPER', 'free': 4735,88671875, 'total': 8192,0}
I0829 07:15:30,683706 15596 _base,py:361] Using device GeForce RTX 2070 SUPER with 4735MB free of 8192MB
I0829 07:15:30,683706 15596 s3fd,py:41] Reserving 51,56% of total VRAM per s3fd thread
I0829 07:15:30,684677 15596 s3fd,py:125] Initializing: S3fd: (model_path: 'C:\Users\user\faceswap\plugins\extract\detect\,cache\s3fd_v1,pb', target_size: (640, 640), vram_ratio: 0,515625, card_id: 0)
I0829 07:15:30,684677 15596 s3fd,py:141] Initializing S3FD Network model,,,
W0829 07:15:30,684677 15596 deprecation_wrapper,py:119] From C:\Users\user\faceswap\plugins\extract\detect\s3fd,py:142: The name tf,gfile,GFile is deprecated, Please use tf,io,gfile,GFile instead,
W0829 07:15:30,684677 15596 deprecation_wrapper,py:119] From C:\Users\user\faceswap\plugins\extract\detect\s3fd,py:143: The name tf,GraphDef is deprecated, Please use tf,compat,v1,GraphDef instead,
I0829 07:15:31,247885 15596 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']08/29/2019 07:15:31 WARNING From C:\Users\user\faceswap\plugins\extract\detect\s3fd,py:165: The name tf,ConfigProto is deprecated, Please use tf,compat,v1,ConfigProto instead,\n
I0829 07:15:31,247885 15596 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>]08/29/2019 07:15:31 WARNING From C:\Users\user\faceswap\plugins\extract\detect\s3fd,py:172: The name tf,Session is deprecated, Please use tf,compat,v1,Session instead,\n
W0829 07:15:31,248803 15596 deprecation_wrapper,py:119] From C:\Users\user\faceswap\plugins\extract\detect\s3fd,py:165: The name tf,ConfigProto is deprecated, Please use tf,compat,v1,ConfigProto instead,
W0829 07:15:31,248803 15596 deprecation_wrapper,py:119] From C:\Users\user\faceswap\plugins\extract\detect\s3fd,py:172: The name tf,Session is deprecated, Please use tf,compat,v1,Session instead,
2019-08-29 07:15:35,721958: E tensorflow/stream_executor/cuda/cuda_dnn,cc:329] Could not create cudnn handle: CUDNN_STATUS_ALLOC_FAILED
2019-08-29 07:15:35,722324: E tensorflow/stream_executor/cuda/cuda_dnn,cc:329] Could not create cudnn handle: CUDNN_STATUS_ALLOC_FAILED
E0829 07:15:35,770127 15596 _base,py:125] Caught exception in child process: 11808: 2 root error(s) found,08/29/2019 07:15:35 ERROR Caught exception in child process: 11808: 2 root error(s) found,\n (0) Unknown: Failed to get convolution algorithm, This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above,\n [[node s3fd/convolution (defined at C:\Users\user\faceswap\plugins\extract\detect\s3fd,py:147) ]]\n [[s3fd/transpose_78/_19]]\n (1) Unknown: Failed to get convolution algorithm, This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above,\n [[node s3fd/convolution (defined at C:\Users\user\faceswap\plugins\extract\detect\s3fd,py:147) ]]\n0 successful operations,\n0 derived errors ignored,\n\nOriginal stack trace for 's3fd/convolution':\n File "<string>", line 1, in <module>\n File "C:\Users\user\MiniConda3\envs\faceswap\lib\multiprocessing\spawn,py", line 105, in spawn_main\n exitcode = _main(fd)\n File "C:\Users\user\MiniConda3\envs\faceswap\lib\multiprocessing\spawn,py", line 118, in _main\n return self,_bootstrap()\n File "C:\Users\user\MiniConda3\envs\faceswap\lib\multiprocessing\process,py", line 258, in _bootstrap\n self,run()\n File "C:\Users\user\faceswap\lib\multithreading,py", line 362, in run\n super(),run()\n File "C:\Users\user\MiniConda3\envs\faceswap\lib\multiprocessing\process,py", line 93, in run\n self,_target(*self,_args, **self,_kwargs)\n File "C:\Users\user\faceswap\plugins\extract\detect\_base,py", line 123, in run\n self,detect_faces(*args, **kwargs)\n File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 75, in detect_faces\n super(),detect_faces(*args, **kwargs)\n File "C:\Users\user\faceswap\plugins\extract\detect\_base,py", line 95, in detect_faces\n self,initialize(*args, **kwargs)\n File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 44, in initialize\n self,model = S3fd(self,model_path, self,target, tf_ratio, card_id, confidence)\n File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 132, in __init__\n self,graph = self,load_graph()\n File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 147, in load_graph\n self,tf,import_graph_def(graph_def, name="s3fd")\n File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\util\deprecation,py", line 507, in new_func\n return func(*args, **kwargs)\n File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\importer,py", line 443, in import_graph_def\n _ProcessNewOps(graph)\n File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\importer,py", line 236, in _ProcessNewOps\n for new_op in graph,_add_new_tf_operations(compute_devices=False): # pylint: disable=protected-access\n File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 3751, in _add_new_tf_operations\n for c_op in c_api_util,new_tf_operations(self)\n File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 3751, in <listcomp>\n for c_op in c_api_util,new_tf_operations(self)\n File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 3641, in _create_op_from_tf_operation\n ret = Operation(c_op, self)\n File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 2005, in __init__\n self,_traceback = tf_stack,extract_stack()\n
[[node s3fd/convolution (defined at C:\Users\user\faceswap\plugins\extract\detect\s3fd,py:147) ]]
[[s3fd/transpose_78/_19]]
(1) Unknown: Failed to get convolution algorithm, This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above,
[[node s3fd/convolution (defined at C:\Users\user\faceswap\plugins\extract\detect\s3fd,py:147) ]]
0 successful operations,
0 derived errors ignored,
Original stack trace for 's3fd/convolution':
File "<string>", line 1, in <module>
File "C:\Users\user\MiniConda3\envs\faceswap\lib\multiprocessing\spawn,py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\multiprocessing\spawn,py", line 118, in _main
return self,_bootstrap()
File "C:\Users\user\MiniConda3\envs\faceswap\lib\multiprocessing\process,py", line 258, in _bootstrap
self,run()
File "C:\Users\user\faceswap\lib\multithreading,py", line 362, in run
super(),run()
File "C:\Users\user\MiniConda3\envs\faceswap\lib\multiprocessing\process,py", line 93, in run
self,_target(*self,_args, **self,_kwargs)
File "C:\Users\user\faceswap\plugins\extract\detect\_base,py", line 123, in run
self,detect_faces(*args, **kwargs)
File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 75, in detect_faces
super(),detect_faces(*args, **kwargs)
File "C:\Users\user\faceswap\plugins\extract\detect\_base,py", line 95, in detect_faces
self,initialize(*args, **kwargs)
File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 44, in initialize
self,model = S3fd(self,model_path, self,target, tf_ratio, card_id, confidence)
File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 132, in __init__
self,graph = self,load_graph()
File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 147, in load_graph
self,tf,import_graph_def(graph_def, name="s3fd")
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\util\deprecation,py", line 507, in new_func
return func(*args, **kwargs)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\importer,py", line 443, in import_graph_def
_ProcessNewOps(graph)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\importer,py", line 236, in _ProcessNewOps
for new_op in graph,_add_new_tf_operations(compute_devices=False): # pylint: disable=protected-access
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 3751, in _add_new_tf_operations
for c_op in c_api_util,new_tf_operations(self)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 3751, in <listcomp>
for c_op in c_api_util,new_tf_operations(self)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 3641, in _create_op_from_tf_operation
ret = Operation(c_op, self)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 2005, in __init__
self,_traceback = tf_stack,extract_stack()
E0829 07:15:35,771124 15596 _base,py:128] Traceback:08/29/2019 07:15:35 ERROR Traceback:
Traceback (most recent call last):Traceback (most recent call last):
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\client\session,py", line 1356, in _do_callFile "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\client\session,py", line 1356, in _do_call
return fn(*args)return fn(*args)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\client\session,py", line 1341, in _run_fnFile "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\client\session,py", line 1341, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)options, feed_dict, fetch_list, target_list, run_metadata)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\client\session,py", line 1429, in _call_tf_sessionrunFile "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\client\session,py", line 1429, in _call_tf_sessionrun
run_metadata)run_metadata)
tensorflow,python,framework,errors_impl,UnknownError: 2 root error(s) found,tensorflow,python,framework,errors_impl,UnknownError: 2 root error(s) found,
(0) Unknown: Failed to get convolution algorithm, This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above,
[[{{node s3fd/convolution}}]][[{{node s3fd/convolution}}]]
[[s3fd/transpose_78/_19]]
(1) Unknown: Failed to get convolution algorithm, This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above,
0 successful operations,
0 derived errors ignored,
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\user\faceswap\plugins\extract\detect\_base,py", line 123, in run
self,detect_faces(*args, **kwargs)self,detect_faces(*args, **kwargs)
File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 75, in detect_faces
super(),detect_faces(*args, **kwargs)
File "C:\Users\user\faceswap\plugins\extract\detect\_base,py", line 95, in detect_faces
self,initialize(*args, **kwargs)
File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 71, in initialize
raise err
File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 44, in initialize
self,model = S3fd(self,model_path, self,target, tf_ratio, card_id, confidence)
File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 135, in __init__
self,session = self,set_session(target_size, vram_ratio, card_id)
File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 174, in set_session
session,run(self,output, feed_dict={self,input: placeholder})
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\client\session,py", line 950, in run
run_metadata_ptr)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\client\session,py", line 1173, in _run
feed_dict_tensor, options, run_metadata)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\client\session,py", line 1350, in _do_run
run_metadata)run_metadata)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\client\session,py", line 1370, in _do_callFile "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\client\session,py", line 1370, in _do_call
raise type(e)(node_def, op, message)raise type(e)(node_def, op, message)
tensorflow,python,framework,errors_impl,UnknownError: 2 root error(s) found,
(0) Unknown: Failed to get convolution algorithm, This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above,
[[node s3fd/convolution (defined at C:\Users\user\faceswap\plugins\extract\detect\s3fd,py:147) ]]
[[s3fd/transpose_78/_19]]
(1) Unknown: Failed to get convolution algorithm, This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above,
[[node s3fd/convolution (defined at C:\Users\user\faceswap\plugins\extract\detect\s3fd,py:147) ]]
0 successful operations,
0 derived errors ignored,
Original stack trace for 's3fd/convolution':
File "<string>", line 1, in <module>
File "C:\Users\user\MiniConda3\envs\faceswap\lib\multiprocessing\spawn,py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\multiprocessing\spawn,py", line 118, in _main
return self,_bootstrap()
File "C:\Users\user\MiniConda3\envs\faceswap\lib\multiprocessing\process,py", line 258, in _bootstrap
self,run()
File "C:\Users\user\faceswap\lib\multithreading,py", line 362, in run
super(),run()
File "C:\Users\user\MiniConda3\envs\faceswap\lib\multiprocessing\process,py", line 93, in run
self,_target(*self,_args, **self,_kwargs)
File "C:\Users\user\faceswap\plugins\extract\detect\_base,py", line 123, in run
self,detect_faces(*args, **kwargs)
File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 75, in detect_faces
super(),detect_faces(*args, **kwargs)
File "C:\Users\user\faceswap\plugins\extract\detect\_base,py", line 95, in detect_faces
self,initialize(*args, **kwargs)
File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 44, in initialize
self,model = S3fd(self,model_path, self,target, tf_ratio, card_id, confidence)
File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 132, in __init__
self,graph = self,load_graph()
File "C:\Users\user\faceswap\plugins\extract\detect\s3fd,py", line 147, in load_graph
self,tf,import_graph_def(graph_def, name="s3fd")
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\util\deprecation,py", line 507, in new_func
return func(*args, **kwargs)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\importer,py", line 443, in import_graph_def
_ProcessNewOps(graph)_ProcessNewOps(graph)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\importer,py", line 236, in _ProcessNewOpsFile "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\importer,py", line 236, in _ProcessNewOps
for new_op in graph,_add_new_tf_operations(compute_devices=False): # pylint: disable=protected-accessfor new_op in graph,_add_new_tf_operations(compute_devices=False): # pylint: disable=protected-access
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 3751, in _add_new_tf_operationsFile "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 3751, in _add_new_tf_operations
for c_op in c_api_util,new_tf_operations(self)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 3751, in <listcomp>
for c_op in c_api_util,new_tf_operations(self)
File "C:\Users\user\MiniConda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\ops,py", line 3641, in _create_op_from_tf_operation
ret = Operation(c_op, self)
self,_traceback = tf_stack,extract_stack()
08/29/2019 07:15:40 ERROR Got Exception on main handler:
Traceback (most recent call last):
File "C:\Users\user\faceswap\lib\cli,py", line 125, in execute_script
process,process()
File "C:\Users\user\faceswap\scripts\extract,py", line 62, in process
self,run_extraction()
File "C:\Users\user\faceswap\scripts\extract,py", line 189, in run_extraction
self,extractor,launch()
File "C:\Users\user\faceswap\plugins\extract\pipeline,py", line 172, in launch
self,launch_detector()
File "C:\Users\user\faceswap\plugins\extract\pipeline,py", line 238, in launch_detector
raise ValueError("Error initializing Detector")
ValueError: Error initializing Detector
08/29/2019 07:15:40 CRITICAL An unexpected crash has occurred, Crash report written to 'C:\Users\user\faceswap\crash_report,2019,08,29,071540364574,log', Please verify you are running the latest version of faceswap before reporting
Process exited,
Please note - it wouldn't let me submit this with full file paths, since the period I guess made it treat it as a link or file or something - I went through and replaced all periods with commas to get around that.