But i cant see previews, the info text remains in "Waiting for preview..." for 1 hour, and the CPU/GPU use is always 1-3%, the input video is 55MB aprox, correctly encoded with H.264. The same if i select "None" on Color adjustment and Mask Type. In TRACE or DEBUG mode shows:
Code: Select all
Setting Faceswap backend to NVIDIA
11/13/2023 20:47:42 INFO Log level set to: DEBUG
11/13/2023 20:47:45 VERBOSE Alignments filepath: 'C:\FaceProjects\Piloto 3\A_alignments.fsa'
11/13/2023 20:47:45 INFO Reading alignments from: 'C:\FaceProjects\Piloto 3\A_alignments.fsa'
11/13/2023 20:47:45 VERBOSE Aligned directory not specified. All faces listed in the alignments file will be converted
11/13/2023 20:47:45 INFO Loading Model from Original plugin...
11/13/2023 20:47:45 VERBOSE Loading config: 'C:\Users\ADMIN-PRO\faceswap\config\train.ini'
11/13/2023 20:47:45 VERBOSE Loading config: 'C:\Users\ADMIN-PRO\faceswap\config\train.ini'
11/13/2023 20:47:45 INFO Using configuration saved in state file
2023-11-13 20:47:45.225202: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-11-13 20:47:45.312350: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 6076 MB memory: -> device: 0, name: NVIDIA GeForce RTX 2080, pci bus id: 0000:01:00.0, compute capability: 7.5
11/13/2023 20:47:46 INFO Loaded model from disk: 'C:\FaceProjects\Piloto 3\ModelAB\original.h5'
11/13/2023 20:47:46 VERBOSE Model: "encoder"
11/13/2023 20:47:46 VERBOSE ____________________________________________________________________________________________________
11/13/2023 20:47:46 VERBOSE Layer (type) Output Shape Param #
11/13/2023 20:47:46 VERBOSE ====================================================================================================
11/13/2023 20:47:46 VERBOSE input_1 (InputLayer) [(None, 64, 64, 3)] 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE conv_128_0_conv2d (Conv2D) (None, 32, 32, 128) 9728
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE conv_128_0_leakyrelu (LeakyReLU) (None, 32, 32, 128) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE conv_256_0_conv2d (Conv2D) (None, 16, 16, 256) 819456
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE conv_256_0_leakyrelu (LeakyReLU) (None, 16, 16, 256) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE conv_512_0_conv2d (Conv2D) (None, 8, 8, 512) 3277312
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE conv_512_0_leakyrelu (LeakyReLU) (None, 8, 8, 512) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE conv_1024_0_conv2d (Conv2D) (None, 4, 4, 1024) 13108224
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE conv_1024_0_leakyrelu (LeakyReLU) (None, 4, 4, 1024) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE flatten (Flatten) (None, 16384) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE dense (Dense) (None, 1024) 16778240
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE dense_1 (Dense) (None, 16384) 16793600
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE reshape (Reshape) (None, 4, 4, 1024) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE upscale_512_0_conv2d_conv2d (Conv2D) (None, 4, 4, 2048) 18876416
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE upscale_512_0_conv2d_leakyrelu (LeakyReLU) (None, 4, 4, 2048) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE upscale_512_0_pixelshuffler (PixelShuffler) (None, 8, 8, 512) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE ====================================================================================================
11/13/2023 20:47:46 VERBOSE Total params: 69,662,976
11/13/2023 20:47:46 VERBOSE Trainable params: 69,662,976
11/13/2023 20:47:46 VERBOSE Non-trainable params: 0
11/13/2023 20:47:46 VERBOSE ____________________________________________________________________________________________________
11/13/2023 20:47:46 VERBOSE Model: "decoder_b"
11/13/2023 20:47:46 VERBOSE ____________________________________________________________________________________________________
11/13/2023 20:47:46 VERBOSE Layer (type) Output Shape Param #
11/13/2023 20:47:46 VERBOSE ====================================================================================================
11/13/2023 20:47:46 VERBOSE input_3 (InputLayer) [(None, 8, 8, 512)] 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE upscale_256_1_conv2d_conv2d (Conv2D) (None, 8, 8, 1024) 4719616
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE upscale_256_1_conv2d_leakyrelu (LeakyReLU) (None, 8, 8, 1024) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE upscale_256_1_pixelshuffler (PixelShuffler) (None, 16, 16, 256) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE upscale_128_1_conv2d_conv2d (Conv2D) (None, 16, 16, 512) 1180160
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE upscale_128_1_conv2d_leakyrelu (LeakyReLU) (None, 16, 16, 512) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE upscale_128_1_pixelshuffler (PixelShuffler) (None, 32, 32, 128) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE upscale_64_1_conv2d_conv2d (Conv2D) (None, 32, 32, 256) 295168
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE upscale_64_1_conv2d_leakyrelu (LeakyReLU) (None, 32, 32, 256) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE upscale_64_1_pixelshuffler (PixelShuffler) (None, 64, 64, 64) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE face_out_b_0_conv2d (Conv2D) (None, 64, 64, 3) 4803
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE face_out_b_0 (Activation) (None, 64, 64, 3) 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE ====================================================================================================
11/13/2023 20:47:46 VERBOSE Total params: 6,199,747
11/13/2023 20:47:46 VERBOSE Trainable params: 6,199,747
11/13/2023 20:47:46 VERBOSE Non-trainable params: 0
11/13/2023 20:47:46 VERBOSE ____________________________________________________________________________________________________
11/13/2023 20:47:46 VERBOSE Model: "original_inference"
11/13/2023 20:47:46 VERBOSE ____________________________________________________________________________________________________
11/13/2023 20:47:46 VERBOSE Layer (type) Output Shape Param #
11/13/2023 20:47:46 VERBOSE ====================================================================================================
11/13/2023 20:47:46 VERBOSE face_in_a (InputLayer) [(None, 64, 64, 3)] 0
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE encoder (Functional) (None, 8, 8, 512) 69662976
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE decoder_b (Functional) (None, 64, 64, 3) 6199747
11/13/2023 20:47:46 VERBOSE
11/13/2023 20:47:46 VERBOSE ====================================================================================================
11/13/2023 20:47:46 VERBOSE Total params: 75,862,723
11/13/2023 20:47:46 VERBOSE Trainable params: 75,862,723
11/13/2023 20:47:46 VERBOSE Non-trainable params: 0
11/13/2023 20:47:46 VERBOSE ____________________________________________________________________________________________________
11/13/2023 20:47:46 INFO Loading Writer from Opencv plugin...
11/13/2023 20:47:46 VERBOSE Loading config: 'C:\Users\ADMIN-PRO\faceswap\config\convert.ini'
Converting: 0it [00:00, ?it/s]
Converting: 0it [00:00, ?it/s]
11/13/2023 20:47:46 INFO Loading Mask from Mask_Blend plugin...
11/13/2023 20:47:46 VERBOSE Loading config: 'C:\Users\ADMIN-PRO\faceswap\config\convert.ini'
11/13/2023 20:47:46 INFO Loading Color from Match_Hist plugin...
11/13/2023 20:47:46 VERBOSE Loading config: 'C:\Users\ADMIN-PRO\faceswap\config\convert.ini'
11/13/2023 20:47:46 INFO Loading Scaling from Sharpen plugin...
11/13/2023 20:47:46 VERBOSE Loading config: 'C:\Users\ADMIN-PRO\faceswap\config\convert.ini'
2023-11-13 20:47:46.800989: I tensorflow/stream_executor/cuda/cuda_dnn.cc:384] Loaded cuDNN version 8902
2023-11-13 20:47:46.867242: W tensorflow/stream_executor/gpu/asm_compiler.cc:80] Couldn't get ptxas version string: INTERNAL: Couldn't invoke ptxas.exe --version
2023-11-13 20:47:46.870347: W tensorflow/stream_executor/gpu/redzone_allocator.cc:314] INTERNAL: Failed to launch ptxas
Relying on driver to perform ptx compilation.
Modify $PATH to customize ptxas location.
This message will be only logged once.