CUDA_ERROR_LAUNCH_FAILED

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
BLACKPINK
Posts: 13
Joined: Mon Dec 09, 2019 2:06 pm
Has thanked: 3 times

CUDA_ERROR_LAUNCH_FAILED

Post by BLACKPINK »

Hello guys i m new here. After i started the extraction the following error occurs pls help thx

Code: Select all

Loading...
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\envs\faceswap\lib\tkinter\__init__.py", line 1705, in __call__
    return self.func(*args)
  File "C:\Users\Roses_are_rosie\faceswap\lib\gui\display.py", line 108, in update_displaybook
    self.remove_tabs()
  File "C:\Users\Roses_are_rosie\faceswap\lib\gui\display.py", line 101, in remove_tabs
    child_object = self.children[child_name]  # returns the OptionalDisplayPage object
KeyError: '!previewextract2'
Setting Faceswap backend to NVIDIA
12/09/2019 22:01:36 INFO     Log level set to: INFO
12/09/2019 22:01:38 INFO     Output Directory: E:\MY_PROJECT\faceswap\jisoo\photo
12/09/2019 22:01:38 INFO     Loading Detect from S3Fd plugin...
12/09/2019 22:01:38 INFO     Loading Align from Fan plugin...
12/09/2019 22:01:38 INFO     Loading Mask from Extended plugin...
12/09/2019 22:01:38 INFO     Starting, this may take a while...
12/09/2019 22:01:38 INFO     Initializing S3FD (Detect)...
12/09/2019 22:01:38 WARNING  From C:\Users\Roses_are_rosie\faceswap\lib\model\session.py:112: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.\n
12/09/2019 22:01:38 WARNING  From C:\Users\Roses_are_rosie\faceswap\lib\model\session.py:116: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.\n
12/09/2019 22:01:38 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
12/09/2019 22:01:38 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
12/09/2019 22:01:38 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
12/09/2019 22:01:38 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
12/09/2019 22:01:39 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
12/09/2019 22:01:40 INFO     Initialized S3FD (Detect) with batchsize of 4

12/09/2019 22:02:56 INFO     Initializing FAN (Align)...
12/09/2019 22:02:56 WARNING  From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:3980: The name tf.nn.avg_pool is deprecated. Please use tf.nn.avg_pool2d instead.\n
12/09/2019 22:02:57 WARNING  From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:2018: The name tf.image.resize_nearest_neighbor is deprecated. Please use tf.compat.v1.image.resize_nearest_neighbor instead.\n
12/09/2019 22:03:09 INFO     Initialized FAN (Align) with batchsize of 12

2019-12-09 22:03:09.586412: E tensorflow/stream_executor/cuda/cuda_driver.cc:1032] could not synchronize on CUDA context: CUDA_ERROR_LAUNCH_FAILED: unspecified launch failure ::
2019-12-09 22:03:09.586415: E tensorflow/stream_executor/cuda/cuda_event.cc:29] Error polling for event status: failed to query event: CUDA_ERROR_LAUNCH_FAILED: unspecified launch failure
2019-12-09 22:03:09.586798: F tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc:273] Unexpected Event status: 1
Process exited.
User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: CUDA_ERROR_LAUNCH_FAILED

Post by torzdf »

My word is final

User avatar
BLACKPINK
Posts: 13
Joined: Mon Dec 09, 2019 2:06 pm
Has thanked: 3 times

Re: CUDA_ERROR_LAUNCH_FAILED

Post by BLACKPINK »

Hello there , thx for replying but i still encountered the same problem during the Alignment. I have chose the allow growth and update already. The post that u mentioned talked about downgrading tensorflow version, can u pls tell me how can i do it?I can see that i m running 1.14.0 in anaconda , thx

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

Re: CUDA_ERROR_LAUNCH_FAILED

Post by torzdf »

Can you post the output of Help > Output System Info

My word is final

User avatar
BLACKPINK
Posts: 13
Joined: Mon Dec 09, 2019 2:06 pm
Has thanked: 3 times

Re: CUDA_ERROR_LAUNCH_FAILED

Post by BLACKPINK »

Hello there the below is my config thx

Code: Select all

System Information ============
encoding:            UTF-8
git_branch:          Not Found
git_commits:         Not Found
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: GeForce GTX 1080 Ti
gpu_devices_active:  GPU_0
gpu_driver:          435.21
gpu_vram:            GPU_0: 11175MB
os_machine:          x86_64
os_platform:         Linux-5.0.0-23-generic-x86_64-with-debian-buster-sid
os_release:          5.0.0-23-generic
py_command:          /home/kimjisoo/faceswap/faceswap.py gui
py_conda_version:    conda 4.7.12
py_implementation:   CPython
py_version:          3.7.5
py_virtual_env:      True
sys_cores:           16
sys_processor:       x86_64
sys_ram:             Total: 32176MB, Available: 29947MB, Used: 1794MB, Free: 27408MB

=============== Pip Packages ===============
absl-py==0.8.1
astor==0.8.0
certifi==2019.11.28
cloudpickle==1.2.2
cycler==0.10.0
cytoolz==0.10.1
dask==2.9.0
decorator==4.4.1
fastcluster==1.1.25
ffmpy==0.2.2
gast==0.2.2
google-pasta==0.1.8
grpcio==1.16.1
h5py==2.9.0
imageio==2.6.1
imageio-ffmpeg==0.3.0
joblib==0.14.0
Keras==2.2.4
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
kiwisolver==1.1.0
Markdown==3.1.1
matplotlib==3.1.1
mkl-fft==1.0.15
mkl-random==1.1.0
mkl-service==2.3.0
networkx==2.4
numpy==1.17.4
nvidia-ml-py3==7.352.1
olefile==0.46
opencv-python==4.1.2.30
opt-einsum==3.1.0
pathlib==1.0.1
Pillow==6.2.1
protobuf==3.10.1
psutil==5.6.7
pyparsing==2.4.5
python-dateutil==2.8.1
pytz==2019.3
PyWavelets==1.1.1
PyYAML==5.1.2
scikit-image==0.15.0
scikit-learn==0.21.3
scipy==1.3.2
six==1.13.0
tensorboard==1.15.0
tensorflow==1.15.0
tensorflow-estimator==1.15.1
termcolor==1.1.0
toolz==0.10.0
toposort==1.5
tornado==6.0.3
tqdm==4.40.0
webencodings==0.5.1
Werkzeug==0.16.0
wrapt==1.11.2

============== Conda Packages ==============
# packages in environment at /home/kimjisoo/anaconda3/envs/faceswap:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main  
_tflow_select 2.1.0 gpu
absl-py 0.8.1 py37_0
astor 0.8.0 py37_0
blas 1.0 mkl
bzip2 1.0.8 h516909a_2 conda-forge c-ares 1.15.0 h7b6447c_1001
ca-certificates 2019.11.27 0
certifi 2019.11.28 py37_0
cloudpickle 1.2.2 py_0
cudatoolkit 10.0.130 0
cudnn 7.6.4 cuda10.0_0
cupti 10.0.130 0
cycler 0.10.0 py37_0
cytoolz 0.10.1 py37h7b6447c_0
dask-core 2.9.0 py_0
dbus 1.13.12 h746ee38_0
decorator 4.4.1 py_0
expat 2.2.6 he6710b0_0
fastcluster 1.1.25 py37hb3f55d8_1000 conda-forge ffmpeg 4.2 h167e202_0 conda-forge ffmpy 0.2.2 pypi_0 pypi fontconfig 2.13.0 h9420a91_0
freetype 2.9.1 h8a8886c_1
gast 0.2.2 py37_0
git 2.23.0 pl526hacde149_0
glib 2.63.1 h5a9c865_0
gmp 6.1.2 hf484d3e_1000 conda-forge gnutls 3.6.5 hd3a4fd2_1002 conda-forge google-pasta 0.1.8 py_0
grpcio 1.16.1 py37hf8bcb03_1
gst-plugins-base 1.14.0 hbbd80ab_1
gstreamer 1.14.0 hb453b48_1
h5py 2.9.0 py37h7918eee_0
hdf5 1.10.4 hb1b8bf9_0
icu 58.2 h9c2bf20_1
imageio 2.6.1 py37_0
imageio-ffmpeg 0.3.0 py_0 conda-forge intel-openmp 2019.4 243
joblib 0.14.0 py_0
jpeg 9b h024ee3a_2
keras 2.2.4 0
keras-applications 1.0.8 py_0
keras-base 2.2.4 py37_0
keras-preprocessing 1.1.0 py_1
kiwisolver 1.1.0 py37he6710b0_0
krb5 1.16.1 h173b8e3_7
lame 3.100 h14c3975_1001 conda-forge libcurl 7.67.0 h20c2e04_0
libedit 3.1.20181209 hc058e9b_0
libffi 3.2.1 hd88cf55_4
libgcc-ng 9.1.0 hdf63c60_0
libgfortran-ng 7.3.0 hdf63c60_0
libiconv 1.15 h516909a_1005 conda-forge libpng 1.6.37 hbc83047_0
libprotobuf 3.10.1 hd408876_0
libssh2 1.8.2 h1ba5d50_0
libstdcxx-ng 9.1.0 hdf63c60_0
libtiff 4.1.0 h2733197_0
libuuid 1.0.3 h1bed415_2
libxcb 1.13 h1bed415_1
libxml2 2.9.9 hea5a465_1
markdown 3.1.1 py37_0
matplotlib 3.1.1 py37h5429711_0
mkl 2019.4 243
mkl-service 2.3.0 py37he904b0f_0
mkl_fft 1.0.15 py37ha843d7b_0
mkl_random 1.1.0 py37hd6b4f25_0
ncurses 6.1 he6710b0_1
nettle 3.4.1 h1bed415_1002 conda-forge networkx 2.4 py_0
numpy 1.17.4 py37hc1035e2_0
numpy-base 1.17.4 py37hde5b4d6_0
nvidia-ml-py3 7.352.1 pypi_0 pypi olefile 0.46 py37_0
opencv-python 4.1.2.30 pypi_0 pypi openh264 1.8.0 hdbcaa40_1000 conda-forge openssl 1.1.1d h7b6447c_3
opt_einsum 3.1.0 py_0
pathlib 1.0.1 py37_1
pcre 8.43 he6710b0_0
perl 5.26.2 h14c3975_0
pillow 6.2.1 py37h34e0f95_0
pip 19.3.1 py37_0
protobuf 3.10.1 py37he6710b0_0
psutil 5.6.7 py37h7b6447c_0
pyparsing 2.4.5 py_0
pyqt 5.9.2 py37h05f1152_2
python 3.7.5 h0371630_0
python-dateutil 2.8.1 py_0
pytz 2019.3 py_0
pywavelets 1.1.1 py37h7b6447c_0
pyyaml 5.1.2 py37h7b6447c_0
qt 5.9.7 h5867ecd_1
readline 7.0 h7b6447c_5
scikit-image 0.15.0 py37he6710b0_0
scikit-learn 0.21.3 py37hd81dba3_0
scipy 1.3.2 py37h7c811a0_0
setuptools 42.0.2 py37_0
sip 4.19.8 py37hf484d3e_0
six 1.13.0 py37_0
sqlite 3.30.1 h7b6447c_0
tensorboard 1.15.0 pyhb230dea_0
tensorflow 1.15.0 gpu_py37h0f0df58_0
tensorflow-base 1.15.0 gpu_py37h9dcbed7_0
tensorflow-estimator 1.15.1 pyh2649769_0
tensorflow-gpu 1.15.0 h0d30ee6_0
termcolor 1.1.0 py37_1
tk 8.6.8 hbc83047_0
toolz 0.10.0 py_0
toposort 1.5 py_3 conda-forge tornado 6.0.3 py37h7b6447c_0
tqdm 4.40.0 py_0
webencodings 0.5.1 py37_1
werkzeug 0.16.0 py_0
wheel 0.33.6 py37_0
wrapt 1.11.2 py37h7b6447c_0
x264 1!152.20180806 h14c3975_0 conda-forge xz 5.2.4 h14c3975_4
yaml 0.1.7 had09818_2
zlib 1.2.11 h7b6447c_3
zstd 1.3.7 h0b5b093_0 ================= Configs ================== --------- .faceswap --------- backend: nvidia --------- extract.ini --------- [global] allow_growth: True [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: 70 batch-size: 4 [align.fan] batch-size: 12 [mask.vgg_clear] batch-size: 6 [mask.unet_dfl] batch-size: 8 [mask.vgg_obstructed] batch-size: 2 --------- train.ini --------- [global] coverage: 68.75 mask_type: none mask_blur_kernel: 3 mask_threshold: 4 learn_mask: 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.unbalanced] input_size: 128 lowmem: False clipnorm: True nodes: 1024 complexity_encoder: 128 complexity_decoder_a: 384 complexity_decoder_b: 512 [model.dlight] features: best details: good output_size: 256 [model.original] lowmem: False [model.realface] input_size: 64 output_size: 128 dense_nodes: 1536 complexity_encoder: 128 complexity_decoder: 512 [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.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 --------- convert.ini --------- [scaling.sharpen] method: unsharp_mask amount: 150 radius: 0.3 threshold: 5.0 [writer.pillow] format: png draw_transparent: False optimize: False gif_interlace: True jpg_quality: 75 png_compress_level: 3 tif_compression: tiff_deflate [writer.opencv] format: png draw_transparent: False jpg_quality: 75 png_compress_level: 3 [writer.gif] fps: 25 loop: 0 palettesize: 256 subrectangles: False [writer.ffmpeg] container: mp4 codec: libx264 crf: 23 preset: medium tune: none profile: auto level: auto [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 [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 --------- gui.ini --------- [global] fullscreen: False tab: extract options_panel_width: 30 console_panel_height: 20 icon_size: 14 font: default font_size: 9 autosave_last_session: prompt timeout: 120 auto_load_model_stats: True
User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: CUDA_ERROR_LAUNCH_FAILED

Post by torzdf »

I would highly recommend cloning the repo rather than downloading the source as a zip file, as unfortunately it means I don't know what version of Faceswap you're on.

However, instructions to downgrade Tensorflow are here: viewtopic.php?f=6&t=241

My word is final

User avatar
BLACKPINK
Posts: 13
Joined: Mon Dec 09, 2019 2:06 pm
Has thanked: 3 times

Re: CUDA_ERROR_LAUNCH_FAILED

Post by BLACKPINK »

Hi, i just removed the environment and try to set up again. I selected python 3.7 and opened
terminal. I tried to get the repo and the following comes out. What does it mean? What should I DO>>?thx

(faceswap) C:\Users\Roses_are_rosie>git clone --depth 1 https://github.com/deepfakes/faceswap.git
fatal: destination path 'faceswap' already exists and is not an empty directory.

User avatar
BLACKPINK
Posts: 13
Joined: Mon Dec 09, 2019 2:06 pm
Has thanked: 3 times

Re: CUDA_ERROR_LAUNCH_FAILED

Post by BLACKPINK »

just an update i have cloned it instead of using zip
but it still crashes. The followings are the crash report
12/12/2019 10:25:19 MainProcess _load_0 multithreading init DEBUG Initialized MultiThread: 'ImagesLoader'
12/12/2019 10:25:19 MainProcess _load_0 image _set_thread DEBUG Set thread: <lib.multithreading.MultiThread object at 0x000001E7DC48D888>
12/12/2019 10:25:19 MainProcess _load_0 multithreading start DEBUG Starting thread(s): 'ImagesLoader'
12/12/2019 10:25:19 MainProcess load_0 multithreading start DEBUG Starting thread 1 of 1: 'ImagesLoader_0'
12/12/2019 10:25:19 MainProcess MainThread multithreading start DEBUG Started all threads '
load': 1
12/12/2019 10:25:19 MainProcess MainThread image init DEBUG Initializing ImagesSaver: (path: E:\MY_PROJECT\faceswap\jisoo\photo, queue_size: 8, as_bytes: True)
12/12/2019 10:25:19 MainProcess MainThread image init DEBUG Initializing ImagesSaver: (path: E:\MY_PROJECT\faceswap\jisoo\photo, queue_size: 8, args: None)
12/12/2019 10:25:19 MainProcess ImagesLoader_0 image process DEBUG Load iterator: <bound method ImagesLoader.from_folder of <lib.image.ImagesLoader object at 0x000001E7DBD75A08>>
12/12/2019 10:25:19 MainProcess ImagesLoader_0 image _from_folder DEBUG Loading images from folder: 'E:\KPOP\AItrain\faceswap\BLACKPINK\JISOO'. with_hash: False
12/12/2019 10:25:19 MainProcess _load_0 multithreading start DEBUG Started all threads 'ImagesLoader': 1
12/12/2019 10:25:19 MainProcess MainThread queue_manager get_queue DEBUG QueueManager getting: 'ImagesSaver'
12/12/2019 10:25:19 MainProcess MainThread queue_manager add_queue DEBUG QueueManager adding: (name: 'ImagesSaver', maxsize: 8)
12/12/2019 10:25:19 MainProcess MainThread queue_manager add_queue DEBUG QueueManager added: (name: 'ImagesSaver')
12/12/2019 10:25:19 MainProcess MainThread queue_manager get_queue DEBUG QueueManager got: 'ImagesSaver'
12/12/2019 10:25:19 MainProcess MainThread pipeline _launch_plugin DEBUG Launching detect plugin
12/12/2019 10:25:19 MainProcess MainThread pipeline _launch_plugin DEBUG in_qname: extract_detect_in, out_qname: extract_align_in
12/12/2019 10:25:19 MainProcess MainThread _base initialize DEBUG initialize Detect: (args: (), kwargs: {'in_queue': <queue.Queue object at 0x000001E7DC472DC8>, 'out_queue': <queue.Queue object at 0x000001E7DC472B88>})
12/12/2019 10:25:19 MainProcess MainThread _base initialize INFO Initializing S3FD (Detect)...
12/12/2019 10:25:19 MainProcess MainThread queue_manager get_queue DEBUG QueueManager getting: 'detect_predict'
12/12/2019 10:25:19 MainProcess MainThread queue_manager add_queue DEBUG QueueManager adding: (name: 'detect_predict', maxsize: 1)
12/12/2019 10:25:19 MainProcess MainThread queue_manager add_queue DEBUG QueueManager added: (name: 'detect_predict')
12/12/2019 10:25:19 MainProcess MainThread queue_manager get_queue DEBUG QueueManager got: 'detect_predict'
12/12/2019 10:25:19 MainProcess MainThread queue_manager get_queue DEBUG QueueManager getting: 'detect_post'
12/12/2019 10:25:19 MainProcess MainThread queue_manager add_queue DEBUG QueueManager adding: (name: 'detect_post', maxsize: 1)
12/12/2019 10:25:19 MainProcess MainThread queue_manager add_queue DEBUG QueueManager added: (name: 'detect_post')
12/12/2019 10:25:19 MainProcess MainThread queue_manager get_queue DEBUG QueueManager got: 'detect_post'
12/12/2019 10:25:19 MainProcess MainThread _base _compile_threads DEBUG Compiling detect threads
12/12/2019 10:25:19 MainProcess MainThread _base _add_thread DEBUG Adding thread: (name: detect_input, function: <bound method Detect.process_input of <plugins.extract.detect.s3fd.Detect object at 0x000001E7DC2EA208>>, in_queue: <queue.Queue object at 0x000001E7DC472DC8>, out_queue: <queue.Queue object at 0x000001E7DC473948>)
12/12/2019 10:25:19 MainProcess MainThread multithreading init DEBUG Initializing MultiThread: (target: 'detect_input', thread_count: 1)
12/12/2019 10:25:19 MainProcess MainThread multithreading init DEBUG Initialized MultiThread: 'detect_input'
12/12/2019 10:25:19 MainProcess MainThread _base _add_thread DEBUG Added thread: detect_input
12/12/2019 10:25:19 MainProcess MainThread _base add_thread DEBUG Adding thread: (name: detect_predict, function: <bound method Detector.predict of <plugins.extract.detect.s3fd.Detect object at 0x000001E7DC2EA208>>, in_queue: <queue.Queue object at 0x000001E7DC473948>, out_queue: <queue.Queue object at 0x000001E7DC4738C8>)
12/12/2019 10:25:19 MainProcess MainThread multithreading init DEBUG Initializing MultiThread: (target: 'detect_predict', thread_count: 1)
12/12/2019 10:25:19 MainProcess MainThread multithreading init DEBUG Initialized MultiThread: 'detect_predict'
12/12/2019 10:25:19 MainProcess MainThread _base _add_thread DEBUG Added thread: detect_predict
12/12/2019 10:25:19 MainProcess MainThread _base _add_thread DEBUG Adding thread: (name: detect_output, function: <bound method Detect.process_output of <plugins.extract.detect.s3fd.Detect object at 0x000001E7DC2EA208>>, in_queue: <queue.Queue object at 0x000001E7DC4738C8>, out_queue: <queue.Queue object at 0x000001E7DC472B88>)
12/12/2019 10:25:19 MainProcess MainThread multithreading init DEBUG Initializing MultiThread: (target: 'detect_output', thread_count: 1)
12/12/2019 10:25:19 MainProcess MainThread multithreading init DEBUG Initialized MultiThread: 'detect_output'
12/12/2019 10:25:19 MainProcess MainThread _base _add_thread DEBUG Added thread: detect_output
12/12/2019 10:25:19 MainProcess MainThread _base _compile_threads DEBUG Compiled detect threads: [<lib.multithreading.MultiThread object at 0x000001E7DC473888>, <lib.multithreading.MultiThread object at 0x000001E7DC473588>, <lib.multithreading.MultiThread object at 0x000001E7DC4735C8>]
12/12/2019 10:25:19 MainProcess MainThread s3fd init DEBUG Initializing: S3fd: (model_path: 'C:\Users\Roses_are_rosie\faceswap\plugins\extract\detect\.cache\s3fd_keras_v1.h5', allow_growth: True)
12/12/2019 10:25:19 MainProcess MainThread module_wrapper _tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\faceswap\lib\model\session.py:112: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.\n
12/12/2019 10:25:19 MainProcess MainThread module_wrapper _tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\faceswap\lib\model\session.py:116: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.\n
12/12/2019 10:25:20 MainProcess MainThread session _set_session DEBUG Created tf.session: (graph: <tensorflow.python.framework.ops.Graph object at 0x000001E7DC472488>, session: <tensorflow.python.client.session.Session object at 0x000001E7DC40A7C8>, config: gpu_options {\n allow_growth: true\n}\n)
12/12/2019 10:25:20 MainProcess MainThread session load_model VERBOSE Initializing plugin model: S3FD
12/12/2019 10:25:20 MainProcess MainThread module_wrapper _tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\.conda\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
12/12/2019 10:25:20 MainProcess MainThread module_wrapper _tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\.conda\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
12/12/2019 10:25:20 MainProcess MainThread module_wrapper _tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\.conda\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
12/12/2019 10:25:20 MainProcess MainThread module_wrapper _tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\.conda\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:190: The name tf.global_variables is deprecated. Please use tf.compat.v1.global_variables instead.\n
12/12/2019 10:25:20 MainProcess MainThread module_wrapper _tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\.conda\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:199: The name tf.is_variable_initialized is deprecated. Please use tf.compat.v1.is_variable_initialized instead.\n
12/12/2019 10:25:20 MainProcess MainThread module_wrapper _tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\.conda\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:206: The name tf.variables_initializer is deprecated. Please use tf.compat.v1.variables_initializer instead.\n
12/12/2019 10:25:20 MainProcess MainThread module_wrapper _tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\.conda\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
12/12/2019 10:25:21 MainProcess MainThread module_wrapper _tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\.conda\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
12/12/2019 10:25:21 MainProcess MainThread module_wrapper _tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\.conda\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:3295: The name tf.log is deprecated. Please use tf.math.log instead.\n
12/12/2019 10:25:21 MainProcess MainThread s3fd init DEBUG Initialized: S3fd
12/12/2019 10:25:21 MainProcess MainThread _base initialize INFO Initialized S3FD (Detect) with batchsize of 4
12/12/2019 10:25:21 MainProcess MainThread multithreading start DEBUG Starting thread(s): 'detect_input'
12/12/2019 10:25:21 MainProcess MainThread multithreading start DEBUG Starting thread 1 of 1: 'detect_input_0'
12/12/2019 10:25:21 MainProcess detect_input_0 _base _thread_process DEBUG threading: (function: 'process_input')
12/12/2019 10:25:21 MainProcess MainThread multithreading start DEBUG Started all threads 'detect_input': 1
12/12/2019 10:25:21 MainProcess MainThread multithreading start DEBUG Starting thread(s): 'detect_predict'
12/12/2019 10:25:21 MainProcess MainThread multithreading start DEBUG Starting thread 1 of 1: 'detect_predict_0'
12/12/2019 10:25:21 MainProcess detect_predict_0 _base thread_process DEBUG threading: (function: 'predict')
12/12/2019 10:25:21 MainProcess MainThread multithreading start DEBUG Started all threads 'detect_predict': 1
12/12/2019 10:25:21 MainProcess MainThread multithreading start DEBUG Starting thread(s): 'detect_output'
12/12/2019 10:25:21 MainProcess MainThread multithreading start DEBUG Starting thread 1 of 1: 'detect_output_0'
12/12/2019 10:25:21 MainProcess detect_output_0 _base _thread_process DEBUG threading: (function: 'process_output')
12/12/2019 10:25:21 MainProcess MainThread multithreading start DEBUG Started all threads 'detect_output': 1
12/12/2019 10:25:21 MainProcess MainThread pipeline _launch_plugin DEBUG Launched detect plugin
12/12/2019 10:25:21 MainProcess MainThread pipeline _launch_plugin DEBUG Launching align plugin
12/12/2019 10:25:21 MainProcess MainThread pipeline _launch_plugin DEBUG in_qname: extract_align_in, out_qname: extract_mask_in
12/12/2019 10:25:21 MainProcess MainThread _base initialize DEBUG initialize Align: (args: (), kwargs: {'in_queue': <queue.Queue object at 0x000001E7DC472B88>, 'out_queue': <queue.Queue object at 0x000001E7DC472748>})
12/12/2019 10:25:21 MainProcess MainThread _base initialize INFO Initializing FAN (Align)...
12/12/2019 10:25:21 MainProcess MainThread queue_manager get_queue DEBUG QueueManager getting: 'align_predict'
12/12/2019 10:25:21 MainProcess MainThread queue_manager add_queue DEBUG QueueManager adding: (name: 'align_predict', maxsize: 1)
12/12/2019 10:25:21 MainProcess MainThread queue_manager add_queue DEBUG QueueManager added: (name: 'align_predict')
12/12/2019 10:25:21 MainProcess MainThread queue_manager get_queue DEBUG QueueManager got: 'align_predict'
12/12/2019 10:25:21 MainProcess MainThread queue_manager get_queue DEBUG QueueManager getting: 'align_post'
12/12/2019 10:25:21 MainProcess MainThread queue_manager add_queue DEBUG QueueManager adding: (name: 'align_post', maxsize: 1)
12/12/2019 10:25:21 MainProcess MainThread queue_manager add_queue DEBUG QueueManager added: (name: 'align_post')
12/12/2019 10:25:21 MainProcess MainThread queue_manager get_queue DEBUG QueueManager got: 'align_post'
12/12/2019 10:25:21 MainProcess MainThread _base _compile_threads DEBUG Compiling align threads
12/12/2019 10:25:21 MainProcess MainThread _base _add_thread DEBUG Adding thread: (name: align_input, function: <bound method Align.process_input of <plugins.extract.align.fan.Align object at 0x000001E7DC319508>>, in_queue: <queue.Queue object at 0x000001E7DC472B88>, out_queue: <queue.Queue object at 0x000001E78914EC88>)
12/12/2019 10:25:21 MainProcess MainThread multithreading init DEBUG Initializing MultiThread: (target: 'align_input', thread_count: 1)
12/12/2019 10:25:21 MainProcess MainThread multithreading init DEBUG Initialized MultiThread: 'align_input'
12/12/2019 10:25:21 MainProcess MainThread _base _add_thread DEBUG Added thread: align_input
12/12/2019 10:25:21 MainProcess MainThread _base add_thread DEBUG Adding thread: (name: align_predict, function: <bound method Aligner.predict of <plugins.extract.align.fan.Align object at 0x000001E7DC319508>>, in_queue: <queue.Queue object at 0x000001E78914EC88>, out_queue: <queue.Queue object at 0x000001E78914E848>)
12/12/2019 10:25:21 MainProcess MainThread multithreading init DEBUG Initializing MultiThread: (target: 'align_predict', thread_count: 1)
12/12/2019 10:25:21 MainProcess MainThread multithreading init DEBUG Initialized MultiThread: 'align_predict'
12/12/2019 10:25:21 MainProcess MainThread _base _add_thread DEBUG Added thread: align_predict
12/12/2019 10:25:21 MainProcess MainThread _base _add_thread DEBUG Adding thread: (name: align_output, function: <bound method Align.process_output of <plugins.extract.align.fan.Align object at 0x000001E7DC319508>>, in_queue: <queue.Queue object at 0x000001E78914E848>, out_queue: <queue.Queue object at 0x000001E7DC472748>)
12/12/2019 10:25:21 MainProcess MainThread multithreading init DEBUG Initializing MultiThread: (target: 'align_output', thread_count: 1)
12/12/2019 10:25:21 MainProcess MainThread multithreading init DEBUG Initialized MultiThread: 'align_output'
12/12/2019 10:25:21 MainProcess MainThread _base _add_thread DEBUG Added thread: align_output
12/12/2019 10:25:21 MainProcess MainThread _base _compile_threads DEBUG Compiled align threads: [<lib.multithreading.MultiThread object at 0x000001E7DC472CC8>, <lib.multithreading.MultiThread object at 0x000001E7DC54CA88>, <lib.multithreading.MultiThread object at 0x000001E7DC54C208>]
12/12/2019 10:25:21 MainProcess MainThread session _set_session DEBUG Created tf.session: (graph: <tensorflow.python.framework.ops.Graph object at 0x000001E7DC33C788>, session: <tensorflow.python.client.session.Session object at 0x000001E7DC2FEC08>, config: gpu_options {\n allow_growth: true\n}\n)
12/12/2019 10:25:21 MainProcess MainThread session load_model VERBOSE Initializing plugin model: FAN
12/12/2019 10:25:21 MainProcess MainThread module_wrapper _tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\.conda\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:4138: The name tf.random_uniform is deprecated. Please use tf.random.uniform instead.\n
12/12/2019 10:25:21 MainProcess MainThread module_wrapper _tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\.conda\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:3980: The name tf.nn.avg_pool is deprecated. Please use tf.nn.avg_pool2d instead.\n
12/12/2019 10:25:22 MainProcess MainThread module_wrapper tfmw_add_deprecation_warning DEBUG From C:\Users\Roses_are_rosie\.conda\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:2018: The name tf.image.resize_nearest_neighbor is deprecated. Please use tf.compat.v1.image.resize_nearest_neighbor instead.\n
Traceback (most recent call last):
File "C:\Users\Roses_are_rosie\faceswap\lib\cli.py", line 129, in execute_script
process.process()
File "C:\Users\Roses_are_rosie\faceswap\scripts\extract.py", line 114, in process
self.
run_extraction()
File "C:\Users\Roses_are_rosie\faceswap\scripts\extract.py", line 200, in run_extraction
self.
extractor.launch()
File "C:\Users\Roses_are_rosie\faceswap\plugins\extract\pipeline.py", line 183, in launch
self._launch_plugin(phase)
File "C:\Users\Roses_are_rosie\faceswap\plugins\extract\pipeline.py", line 411, in launch_plugin
plugin.initialize(**kwargs)
File "C:\Users\Roses_are_rosie\faceswap\plugins\extract\_base.py", line 334, in initialize
self.init_model()
File "C:\Users\Roses_are_rosie\faceswap\plugins\extract\align\fan.py", line 41, in init_model
self.model.predict(placeholder)
File "C:\Users\Roses_are_rosie\faceswap\lib\model\session.py", line 68, in predict
return self.
model.predict(feed, batch_size=batch_size)
File "C:\Users\Roses_are_rosie\.conda\envs\faceswap\lib\site-packages\keras\engine\training.py", line 1169, in predict
steps=steps)
File "C:\Users\Roses_are_rosie\.conda\envs\faceswap\lib\site-packages\keras\engine\training_arrays.py", line 294, in predict_loop
batch_outs = f(ins_batch)
File "C:\Users\Roses_are_rosie\.conda\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py", line 2715, in call
return self._call(inputs)
File "C:\Users\Roses_are_rosie\.conda\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py", line 2675, in call
fetched = self.
callable_fn(*array_vals)
File "C:\Users\Roses_are_rosie\.conda\envs\faceswap\lib\site-packages\tensorflow_core\python\client\session.py", line 1472, in call
run_metadata_ptr)
tensorflow.python.framework.errors_impl.InternalError: 2 root error(s) found.
(0) Internal: cuDNN launch failure : input shape([12,256,64,64]) filter shape([1,1,256,256])
[[{{node conv2d_55/convolution}}]]
[[conv2d_194/BiasAdd/_6057]]
(1) Internal: cuDNN launch failure : input shape([12,256,64,64]) filter shape([1,1,256,256])
[[{{node conv2d_55/convolution}}]]
0 successful operations.
0 derived errors ignored.

============ System Information ============
encoding: cp1252
git_branch: master
git_commits: c4b6ed0 Small bugfix
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: GeForce GTX 1080 Ti
gpu_devices_active: GPU_0
gpu_driver: 441.66
gpu_vram: GPU_0: 11264MB
os_machine: AMD64
os_platform: Windows-10-10.0.18362-SP0
os_release: 10
py_command: C:\Users\Roses_are_rosie\faceswap\faceswap.py extract -i E:/KPOP/AItrain/faceswap/BLACKPINK/JISOO -o E:/MY_PROJECT/faceswap/jisoo/photo -D s3fd -A fan -M extended -nm none -min 0 -l 0.4 -een 1 -sz 256 -si 0 -L INFO -gui
py_conda_version: conda 4.7.12
py_implementation: CPython
py_version: 3.7.5
py_virtual_env: True
sys_cores: 16
sys_processor: AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD
sys_ram: Total: 32718MB, Available: 19555MB, Used: 13163MB, Free: 19555MB

=============== Pip Packages ===============
absl-py==0.8.1
astor==0.8.0
certifi==2019.11.28
cloudpickle==1.2.2
cycler==0.10.0
cytoolz==0.10.1
dask==2.9.0
decorator==4.4.1
fastcluster==1.1.25
ffmpy==0.2.2
gast==0.2.2
google-pasta==0.1.8
grpcio==1.16.1
h5py==2.9.0
imageio==2.6.1
imageio-ffmpeg==0.3.0
joblib==0.14.0
Keras==2.2.4
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
kiwisolver==1.1.0
Markdown==3.1.1
matplotlib==3.1.1
mkl-fft==1.0.15
mkl-random==1.1.0
mkl-service==2.3.0
networkx==2.4
numpy==1.17.4
nvidia-ml-py3==7.352.1
olefile==0.46
opencv-python==4.1.2.30
opt-einsum==3.1.0
pathlib==1.0.1
Pillow==6.2.1
protobuf==3.10.1
psutil==5.6.7
pyparsing==2.4.5
pyreadline==2.1
python-dateutil==2.8.1
pytz==2019.3
PyWavelets==1.1.1
pywin32==223
PyYAML==5.1.2
scikit-image==0.15.0
scikit-learn==0.21.3
scipy==1.3.2
six==1.13.0
tensorboard==2.0.0
tensorflow==1.15.0
tensorflow-estimator==1.15.1
termcolor==1.1.0
toolz==0.10.0
toposort==1.5
tornado==6.0.3
tqdm==4.40.0
Werkzeug==0.16.0
wincertstore==0.2
wrapt==1.11.2

============== Conda Packages ==============

packages in environment at C:\Users\Roses_are_rosie\.conda\envs\faceswap:

#

Name Version Build Channel

_tflow_select 2.1.0 gpu
absl-py 0.8.1 py37_0
astor 0.8.0 py37_0
blas 1.0 mkl
ca-certificates 2019.11.27 0
certifi 2019.11.28 py37_0
cloudpickle 1.2.2 py_0
cudatoolkit 10.0.130 0
cudnn 7.6.4 cuda10.0_0
cycler 0.10.0 py37_0
cytoolz 0.10.1 py37he774522_0
dask-core 2.9.0 py_0
decorator 4.4.1 py_0
fastcluster 1.1.25 py37he350917_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 py37_0
google-pasta 0.1.8 py_0
grpcio 1.16.1 py37h351948d_1
h5py 2.9.0 py37h5e291fa_0
hdf5 1.10.4 h7ebc959_0
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha66f8fd_1
imageio 2.6.1 py37_0
imageio-ffmpeg 0.3.0 py_0 conda-forge
intel-openmp 2019.4 245
joblib 0.14.0 py_0
jpeg 9b hb83a4c4_2
keras 2.2.4 0
keras-applications 1.0.8 py_0
keras-base 2.2.4 py37_0
keras-preprocessing 1.1.0 py_1
kiwisolver 1.1.0 py37ha925a31_0
libmklml 2019.0.5 0
libpng 1.6.37 h2a8f88b_0
libprotobuf 3.10.1 h7bd577a_0
libtiff 4.1.0 h56a325e_0
markdown 3.1.1 py37_0
matplotlib 3.1.1 py37hc8f65d3_0
mkl 2019.4 245
mkl-service 2.3.0 py37hb782905_0
mkl_fft 1.0.15 py37h14836fe_0
mkl_random 1.1.0 py37h675688f_0
networkx 2.4 py_0
numpy 1.17.4 py37h4320e6b_0
numpy-base 1.17.4 py37hc3f5095_0
nvidia-ml-py3 7.352.1 pypi_0 pypi
olefile 0.46 py37_0
opencv-python 4.1.2.30 pypi_0 pypi
openssl 1.1.1d he774522_3
opt_einsum 3.1.0 py_0
pathlib 1.0.1 py37_1
pillow 6.2.1 py37hdc69c19_0
pip 19.3.1 py37_0
protobuf 3.10.1 py37h33f27b4_0
psutil 5.6.7 py37he774522_0
pyparsing 2.4.5 py_0
pyqt 5.9.2 py37h6538335_2
pyreadline 2.1 py37_1
python 3.7.5 h8c8aaf0_0
python-dateutil 2.8.1 py_0
pytz 2019.3 py_0
pywavelets 1.1.1 py37he774522_0
pywin32 223 py37hfa6e2cd_1
pyyaml 5.1.2 py37he774522_0
qt 5.9.7 vc14h73c81de_0
scikit-image 0.15.0 py37ha925a31_0
scikit-learn 0.21.3 py37h6288b17_0
scipy 1.3.2 py37h29ff71c_0
setuptools 42.0.2 py37_0
sip 4.19.8 py37h6538335_0
six 1.13.0 py37_0
sqlite 3.30.1 he774522_0
tensorboard 2.0.0 pyhb38c66f_1
tensorflow 1.15.0 gpu_py37hc3743a6_0
tensorflow-base 1.15.0 gpu_py37h1afeea4_0
tensorflow-estimator 1.15.1 pyh2649769_0
tensorflow-gpu 1.15.0 h0d30ee6_0
termcolor 1.1.0 py37_1
tk 8.6.8 hfa6e2cd_0
toolz 0.10.0 py_0
toposort 1.5 py_3 conda-forge
tornado 6.0.3 py37he774522_0
tqdm 4.40.0 py_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.16.27012 hf0eaf9b_1
werkzeug 0.16.0 py_0
wheel 0.33.6 py37_0
wincertstore 0.2 py37_0
wrapt 1.11.2 py37he774522_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 ---------

[global]
allow_growth: True

[align.fan]
batch-size: 12

[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: 70
batch-size: 4

[mask.unet_dfl]
batch-size: 8

[mask.vgg_clear]
batch-size: 6

[mask.vgg_obstructed]
batch-size: 2

--------- gui.ini ---------

[global]
fullscreen: False
tab: extract
options_panel_width: 30
console_panel_height: 20
icon_size: 14
font: default
font_size: 9
autosave_last_session: prompt
timeout: 120
auto_load_model_stats: True

--------- train.ini ---------

[global]
coverage: 68.75
mask_type: none
mask_blur_kernel: 3
mask_threshold: 4
learn_mask: 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.dlight]
features: best
details: good
output_size: 256

[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: CUDA_ERROR_LAUNCH_FAILED

Post by torzdf »

Ok, on the face of it, that looks fine. Make sure you are not overclocking your Graphics card.

If you are still having issues, then try downgrading tensorflow as per the earlier link

My word is final

User avatar
BLACKPINK
Posts: 13
Joined: Mon Dec 09, 2019 2:06 pm
Has thanked: 3 times

Re: CUDA_ERROR_LAUNCH_FAILED

Post by BLACKPINK »

i m sure it is not oc and i tried downgrading. However the same problem is still happening

User avatar
BLACKPINK
Posts: 13
Joined: Mon Dec 09, 2019 2:06 pm
Has thanked: 3 times

Re: CUDA_ERROR_LAUNCH_FAILED

Post by BLACKPINK »

Setting Faceswap backend to NVIDIA
12/16/2019 14:24:51 INFO Log level set to: DEBUG
C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\tensorflow\python\framework\dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
12/16/2019 14:24:52 INFO Output Directory: E:\MY_PROJECT\faceswap\jisoo\photo
12/16/2019 14:24:52 VERBOSE Alignments filepath: 'E:\KPOP\AItrain\faceswap\BLACKPINK\JISOO\alignments.fsa'
12/16/2019 14:24:52 INFO Loading Detect from S3Fd plugin...
12/16/2019 14:24:52 VERBOSE Loading config: 'C:\Users\Roses_are_rosie\faceswap\config\extract.ini'
12/16/2019 14:24:52 INFO Loading Align from Fan plugin...
12/16/2019 14:24:52 VERBOSE Loading config: 'C:\Users\Roses_are_rosie\faceswap\config\extract.ini'
12/16/2019 14:24:52 INFO Loading Mask from Extended plugin...
12/16/2019 14:24:52 VERBOSE Loading config: 'C:\Users\Roses_are_rosie\faceswap\config\extract.ini'
12/16/2019 14:24:52 VERBOSE GeForce GTX 1080 Ti - 10463MB free of 11264MB
12/16/2019 14:24:52 INFO Starting, this may take a while...
12/16/2019 14:24:52 INFO Initializing S3FD (Detect)...
12/16/2019 14:24:52 WARNING From C:\Users\Roses_are_rosie\faceswap\lib\model\session.py:112: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.\n
12/16/2019 14:24:52 WARNING From C:\Users\Roses_are_rosie\faceswap\lib\model\session.py:116: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.\n2019-12-16 14:24:52.976423: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2

2019-12-16 14:24:52.978632: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library nvcuda.dll
2019-12-16 14:24:52.994566: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.721
pciBusID: 0000:2d:00.0
2019-12-16 14:24:52.994716: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2019-12-16 14:24:52.995069: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-12-16 14:24:53.409669: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-12-16 14:24:53.409817: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187] 0
2019-12-16 14:24:53.409867: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0: N
12/16/2019 14:24:53 VERBOSE Initializing plugin model: S3FD2019-12-16 14:24:53.410464: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8786 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:2d:00.0, compute capability: 6.1)

12/16/2019 14:24:53 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
12/16/2019 14:24:53 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
12/16/2019 14:24:53 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
12/16/2019 14:24:53 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
12/16/2019 14:24:54 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
12/16/2019 14:24:54 INFO Initialized S3FD (Detect) with batchsize of 42019-12-16 14:24:54.598625: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:

12/16/2019 14:24:54 INFO Initializing FAN (Align)...
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.72112/16/2019 14:24:54 VERBOSE Initializing plugin model: FAN

pciBusID: 0000:2d:00.0
2019-12-16 14:24:54.598836: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2019-12-16 14:24:54.599294: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-12-16 14:24:54.599404: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-12-16 14:24:54.599482: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187] 0
2019-12-16 14:24:54.599537: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0: N
2019-12-16 14:24:54.599937: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8786 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:2d:00.0, compute capability: 6.1)
12/16/2019 14:24:54 WARNING From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:3980: The name tf.nn.avg_pool is deprecated. Please use tf.nn.avg_pool2d instead.\n
12/16/2019 14:24:55 WARNING From C:\ProgramData\Anaconda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:2018: The name tf.image.resize_nearest_neighbor is deprecated. Please use tf.compat.v1.image.resize_nearest_neighbor instead.\n
12/16/2019 14:25:08 INFO Initialized FAN (Align) with batchsize of 12
12/16/2019 14:25:08 INFO Initializing Extended (Mask)...
12/16/2019 14:25:08 INFO Initialized Extended (Mask) with batchsize of 1

2019-12-16 14:25:17.121084: E tensorflow/stream_executor/cuda/cuda_event.cc:29] Error polling for event status: failed to query event: CUDA_ERROR_ILLEGAL_INSTRUCTION: an illegal instruction was encountered
2019-12-16 14:25:17.121083: E tensorflow/stream_executor/cuda/cuda_driver.cc:1032] could not synchronize on CUDA context: CUDA_ERROR_ILLEGAL_INSTRUCTION: an illegal instruction was encountered ::
2019-12-16 14:25:17.121337: F tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc:273] Unexpected Event status: 1
2019-12-16 14:25:17.121346: E tensorflow/strea
Process exited.

User avatar
BLACKPINK
Posts: 13
Joined: Mon Dec 09, 2019 2:06 pm
Has thanked: 3 times

Re: CUDA_ERROR_LAUNCH_FAILED

Post by BLACKPINK »

Problem seems solved and i dont know how...
May i know why it only works with single process? i got 1080ti should have enough vram

it only works when i m extracting images but not videos...when doing the alignment the error comes up again

Locked