[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