Convert + Alignments - Common Problems MegaThread

Got questions or tips about the Conversion process? This is the place to discuss them.


Forum rules

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

This forum is for discussing tips and understanding the process involved with Converting faces from your trained model.

If you are having issues with the Convert process not working as you would expect, then you should post in the Convert Support forum.

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

User avatar
Antipope1
Posts: 35
Joined: Thu Jul 02, 2020 10:51 am
Has thanked: 6 times
Been thanked: 3 times

Re: Another missing alignments post...

Post by Antipope1 »

Code: Select all

07/09/2020 23:22:33 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'patch': 1
07/09/2020 23:22:33 MainProcess     MainThread      multithreading  completed                 DEBUG    False
07/09/2020 23:22:33 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:33 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:33 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:33 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:33 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:33 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:33 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:33 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:33 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:33 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:34 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:34 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:34 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:34 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:34 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:34 MainProcess     _save_0         convert         _save                     DEBUG    Writing GUI Preview image: 'I:\Faceswap Resources\convert\.gui_preview.jpg'
07/09/2020 23:22:34 MainProcess     _save_0         ffmpeg          video_file                DEBUG    I:\Faceswap Resources\convert\kk11_converted.mp4
07/09/2020 23:22:34 MainProcess     _save_0         ffmpeg          write                     INFO     Outputting to: 'I:\Faceswap Resources\convert\kk11_converted.mp4'
07/09/2020 23:22:34 MainProcess     _save_0         ffmpeg          set_dimensions            DEBUG    input dimensions: (720, 1280)
07/09/2020 23:22:34 MainProcess     _save_0         ffmpeg          set_dimensions            DEBUG    Set dimensions: 1280:720
07/09/2020 23:22:34 MainProcess     _save_0         ffmpeg          get_writer                DEBUG    writer config: {'container': 'mp4', 'codec': 'libx264', 'crf': 23, 'preset': 'medium', 'tune': None, 'profile': 'auto', 'level': 'auto'}
07/09/2020 23:22:34 MainProcess     _save_0         ffmpeg          video_file                DEBUG    I:\Faceswap Resources\convert\kk11_converted.mp4
07/09/2020 23:22:34 MainProcess     _save_0         ffmpeg          video_tmp_file            DEBUG    I:\Faceswap Resources\convert\__tmp_kk11_converted.mp4
07/09/2020 23:22:34 MainProcess     _save_0         ffmpeg          video_fps                 DEBUG    50.0
07/09/2020 23:22:34 MainProcess     _save_0         ffmpeg          output_params             DEBUG    ['-vf', 'scale=1280:720', '-c:v', 'libx264', '-crf', '23', '-preset', 'medium']
07/09/2020 23:22:34 MainProcess     MainThread      multithreading  completed                 DEBUG    False
07/09/2020 23:22:35 MainProcess     MainThread      multithreading  completed                 DEBUG    False
07/09/2020 23:22:36 MainProcess     MainThread      multithreading  completed                 DEBUG    False
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:36 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     _predict_faces_0 _base           largest_face_index        DEBUG    0
07/09/2020 23:22:37 MainProcess     patch_0         convert         process                   ERROR    Failed to convert image: 'kk11_000020.png'. Reason: Unable to allocate 3.52 MiB for an array with shape (720, 1280, 1) and data type float32
07/09/2020 23:22:37 MainProcess     ImagesLoader_0  multithreading  run                       DEBUG    Error in thread (ImagesLoader_0): Could not read frame 106:\n\n=== stderr ===\nffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers\n  built with gcc 9.2.1 (GCC) 20200122\n  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt\n  libavutil      56. 31.100 / 56. 31.100\n  libavcodec     58. 54.100 / 58. 54.100\n  libavformat    58. 29.100 / 58. 29.100\n  libavdevice    58.  8.100 / 58.  8.100\n  libavfilter     7. 57.100 /  7. 57.100\n  libswscale      5.  5.100 /  5.  5.100\n  libswresample   3.  5.100 /  3.  5.100\n  libpostproc    55.  5.100 / 55.  5.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\Faceswap Resources\v1\kk11.mp4':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n\n    encoder         : Lavf58.20.100\n  Duration: 00:00:16.21, start: 0.020000, bitrate: 16553 kb/s\n\n    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 16363 kb/s, 50.06 fps, 50 tbr, 12800 tbn, 100 tbc (default)\n    Metadata:\n      handler_name    : VideoHandler\n    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)\n    Metadata:\n      handler_name    : SoundHandler\nStream mapping:\n  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))\nPress [q] to stop, [?] for help\nOutput #0, image2pipe, to 'pipe:':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n    encoder         : Lavf58.29.100\n    Stream #0:0(und): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1280x720, q=2-31, 1105920 kb/s, 50 fps, 50 tbn, 50 tbc (default)\nffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers\n  built with gcc 9.2.1 (GCC) 20200122\n  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt\n  libavutil      56. 31.100 / 56. 31.100\n  libavcodec     58. 54.100 / 58. 54.100\n  libavformat    58. 29.100 / 58. 29.100\n  libavdevice    58.  8.100 / 58.  8.100\n  libavfilter     7. 57.100 /  7. 57.100\n  libswscale      5.  5.100 /  5.  5.100\n  libswresample   3.  5.100 /  3.  5.100\n  libpostproc    55.  5.100 / 55.  5.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\Faceswap Resources\v1\kk11.mp4':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n\n    encoder         : Lavf58.20.100\n  Duration: 00:00:16.21, start: 0.020000, bitrate: 16553 kb/s\n\n    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 16363 kb/s, 50.06 fps, 50 tbr, 12800 tbn, 100 tbc (default)\n    Metadata:\n      handler_name    : VideoHandler\n    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)\n    Metadata:\n      handler_name    : SoundHandler\nStream mapping:\n  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))\nPress [q] to stop, [?] for help\nOutput #0, image2pipe, to 'pipe:':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n    encoder         : Lavf58.29.100\n    Stream #0:0(und): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1280x720, q=2-31, 1105920 kb/s, 50 fps, 50 tbn, 50 tbc (default)\n    Metadata:\n      handler_name    : VideoHandler\n      encoder         : Lavc58.54.100 rawvideo\nframe=   28 fps= 11 q=-0.0 size=   75600kB time=00:00:00.56 bitrate=1105920.0kbits/s speed=0.213x
07/09/2020 23:22:37 MainProcess     MainThread      multithreading  completed                 DEBUG    False
07/09/2020 23:22:38 MainProcess     _load_0         multithreading  check_and_raise_error     DEBUG    Thread error caught: [(<class 'RuntimeError'>, RuntimeError("Could not read frame 106:\n\n=== stderr ===\nffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers\n  built with gcc 9.2.1 (GCC) 20200122\n  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt\n  libavutil      56. 31.100 / 56. 31.100\n  libavcodec     58. 54.100 / 58. 54.100\n  libavformat    58. 29.100 / 58. 29.100\n  libavdevice    58.  8.100 / 58.  8.100\n  libavfilter     7. 57.100 /  7. 57.100\n  libswscale      5.  5.100 /  5.  5.100\n  libswresample   3.  5.100 /  3.  5.100\n  libpostproc    55.  5.100 / 55.  5.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\\Faceswap Resources\\v1\\kk11.mp4':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n\n    encoder         : Lavf58.20.100\n  Duration: 00:00:16.21, start: 0.020000, bitrate: 16553 kb/s\n\n    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 16363 kb/s, 50.06 fps, 50 tbr, 12800 tbn, 100 tbc (default)\n    Metadata:\n      handler_name    : VideoHandler\n    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)\n    Metadata:\n      handler_name    : SoundHandler\nStream mapping:\n  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))\nPress [q] to stop, [?] for help\nOutput #0, image2pipe, to 'pipe:':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n    encoder         : Lavf58.29.100\n    Stream #0:0(und): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1280x720, q=2-31, 1105920 kb/s, 50 fps, 50 tbn, 50 tbc (default)\nffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers\n  built with gcc 9.2.1 (GCC) 20200122\n  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt\n  libavutil      56. 31.100 / 56. 31.100\n  libavcodec     58. 54.100 / 58. 54.100\n  libavformat    58. 29.100 / 58. 29.100\n  libavdevice    58.  8.100 / 58.  8.100\n  libavfilter     7. 57.100 /  7. 57.100\n  libswscale      5.  5.100 /  5.  5.100\n  libswresample   3.  5.100 /  3.  5.100\n  libpostproc    55.  5.100 / 55.  5.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\\Faceswap Resources\\v1\\kk11.mp4':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n\n    encoder         : Lavf58.20.100\n  Duration: 00:00:16.21, start: 0.020000, bitrate: 16553 kb/s\n\n    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 16363 kb/s, 50.06 fps, 50 tbr, 12800 tbn, 100 tbc (default)\n    Metadata:\n      handler_name    : VideoHandler\n    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)\n    Metadata:\n      handler_name    : SoundHandler\nStream mapping:\n  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))\nPress [q] to stop, [?] for help\nOutput #0, image2pipe, to 'pipe:':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n    encoder         : Lavf58.29.100\n    Stream #0:0(und): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1280x720, q=2-31, 1105920 kb/s, 50 fps, 50 tbn, 50 tbc (default)\n    Metadata:\n      handler_name    : VideoHandler\n      encoder         : Lavc58.54.100 rawvideo\nframe=   28 fps= 11 q=-0.0 size=   75600kB time=00:00:00.56 bitrate=1105920.0kbits/s speed=0.213x    "), <traceback object at 0x000002A607000088>)]
07/09/2020 23:22:38 MainProcess     _load_0         multithreading  run                       DEBUG    Error in thread (_load_0): Could not read frame 106:\n\n=== stderr ===\nffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers\n  built with gcc 9.2.1 (GCC) 20200122\n  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt\n  libavutil      56. 31.100 / 56. 31.100\n  libavcodec     58. 54.100 / 58. 54.100\n  libavformat    58. 29.100 / 58. 29.100\n  libavdevice    58.  8.100 / 58.  8.100\n  libavfilter     7. 57.100 /  7. 57.100\n  libswscale      5.  5.100 /  5.  5.100\n  libswresample   3.  5.100 /  3.  5.100\n  libpostproc    55.  5.100 / 55.  5.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\Faceswap Resources\v1\kk11.mp4':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n\n    encoder         : Lavf58.20.100\n  Duration: 00:00:16.21, start: 0.020000, bitrate: 16553 kb/s\n\n    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 16363 kb/s, 50.06 fps, 50 tbr, 12800 tbn, 100 tbc (default)\n    Metadata:\n      handler_name    : VideoHandler\n    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)\n    Metadata:\n      handler_name    : SoundHandler\nStream mapping:\n  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))\nPress [q] to stop, [?] for help\nOutput #0, image2pipe, to 'pipe:':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n    encoder         : Lavf58.29.100\n    Stream #0:0(und): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1280x720, q=2-31, 1105920 kb/s, 50 fps, 50 tbn, 50 tbc (default)\nffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers\n  built with gcc 9.2.1 (GCC) 20200122\n  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt\n  libavutil      56. 31.100 / 56. 31.100\n  libavcodec     58. 54.100 / 58. 54.100\n  libavformat    58. 29.100 / 58. 29.100\n  libavdevice    58.  8.100 / 58.  8.100\n  libavfilter     7. 57.100 /  7. 57.100\n  libswscale      5.  5.100 /  5.  5.100\n  libswresample   3.  5.100 /  3.  5.100\n  libpostproc    55.  5.100 / 55.  5.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\Faceswap Resources\v1\kk11.mp4':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n\n    encoder         : Lavf58.20.100\n  Duration: 00:00:16.21, start: 0.020000, bitrate: 16553 kb/s\n\n    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 16363 kb/s, 50.06 fps, 50 tbr, 12800 tbn, 100 tbc (default)\n    Metadata:\n      handler_name    : VideoHandler\n    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)\n    Metadata:\n      handler_name    : SoundHandler\nStream mapping:\n  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))\nPress [q] to stop, [?] for help\nOutput #0, image2pipe, to 'pipe:':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n    encoder         : Lavf58.29.100\n    Stream #0:0(und): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1280x720, q=2-31, 1105920 kb/s, 50 fps, 50 tbn, 50 tbc (default)\n    Metadata:\n      handler_name    : VideoHandler\n      encoder         : Lavc58.54.100 rawvideo\nframe=   28 fps= 11 q=-0.0 size=   75600kB time=00:00:00.56 bitrate=1105920.0kbits/s speed=0.213x
07/09/2020 23:22:38 MainProcess     MainThread      multithreading  check_and_raise_error     DEBUG    Thread error caught: [(<class 'RuntimeError'>, RuntimeError("Could not read frame 106:\n\n=== stderr ===\nffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers\n  built with gcc 9.2.1 (GCC) 20200122\n  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt\n  libavutil      56. 31.100 / 56. 31.100\n  libavcodec     58. 54.100 / 58. 54.100\n  libavformat    58. 29.100 / 58. 29.100\n  libavdevice    58.  8.100 / 58.  8.100\n  libavfilter     7. 57.100 /  7. 57.100\n  libswscale      5.  5.100 /  5.  5.100\n  libswresample   3.  5.100 /  3.  5.100\n  libpostproc    55.  5.100 / 55.  5.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\\Faceswap Resources\\v1\\kk11.mp4':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n\n    encoder         : Lavf58.20.100\n  Duration: 00:00:16.21, start: 0.020000, bitrate: 16553 kb/s\n\n    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 16363 kb/s, 50.06 fps, 50 tbr, 12800 tbn, 100 tbc (default)\n    Metadata:\n      handler_name    : VideoHandler\n    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)\n    Metadata:\n      handler_name    : SoundHandler\nStream mapping:\n  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))\nPress [q] to stop, [?] for help\nOutput #0, image2pipe, to 'pipe:':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n    encoder         : Lavf58.29.100\n    Stream #0:0(und): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1280x720, q=2-31, 1105920 kb/s, 50 fps, 50 tbn, 50 tbc (default)\nffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers\n  built with gcc 9.2.1 (GCC) 20200122\n  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt\n  libavutil      56. 31.100 / 56. 31.100\n  libavcodec     58. 54.100 / 58. 54.100\n  libavformat    58. 29.100 / 58. 29.100\n  libavdevice    58.  8.100 / 58.  8.100\n  libavfilter     7. 57.100 /  7. 57.100\n  libswscale      5.  5.100 /  5.  5.100\n  libswresample   3.  5.100 /  3.  5.100\n  libpostproc    55.  5.100 / 55.  5.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\\Faceswap Resources\\v1\\kk11.mp4':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n\n    encoder         : Lavf58.20.100\n  Duration: 00:00:16.21, start: 0.020000, bitrate: 16553 kb/s\n\n    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 16363 kb/s, 50.06 fps, 50 tbr, 12800 tbn, 100 tbc (default)\n    Metadata:\n      handler_name    : VideoHandler\n    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)\n    Metadata:\n      handler_name    : SoundHandler\nStream mapping:\n  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))\nPress [q] to stop, [?] for help\nOutput #0, image2pipe, to 'pipe:':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n    encoder         : Lavf58.29.100\n    Stream #0:0(und): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1280x720, q=2-31, 1105920 kb/s, 50 fps, 50 tbn, 50 tbc (default)\n    Metadata:\n      handler_name    : VideoHandler\n      encoder         : Lavc58.54.100 rawvideo\nframe=   28 fps= 11 q=-0.0 size=   75600kB time=00:00:00.56 bitrate=1105920.0kbits/s speed=0.213x    "), <traceback object at 0x000002A607000908>)]
Traceback (most recent call last):
  File "C:\Users\Matt\MiniConda3\envs\faceswap\lib\site-packages\imageio_ffmpeg\_io.py", line 197, in read_frames
    extra_bytes = p.stdout.read(framesize_bytes - len(bb))
MemoryError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Matt\faceswap\lib\cli\launcher.py", line 155, in execute_script
    process.process()
  File "C:\Users\Matt\faceswap\scripts\convert.py", line 157, in process
    self._convert_images()
  File "C:\Users\Matt\faceswap\scripts\convert.py", line 184, in _convert_images
    self._check_thread_error()
  File "C:\Users\Matt\faceswap\scripts\convert.py", line 204, in _check_thread_error
    thread.check_and_raise_error()
  File "C:\Users\Matt\faceswap\lib\multithreading.py", line 84, in check_and_raise_error
    raise error[1].with_traceback(error[2])
  File "C:\Users\Matt\faceswap\lib\multithreading.py", line 37, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Matt\faceswap\scripts\convert.py", line 452, in _load
    for filename, image in self._images.load():
  File "C:\Users\Matt\faceswap\lib\image.py", line 977, in load
    self._thread.check_and_raise_error()
  File "C:\Users\Matt\faceswap\lib\multithreading.py", line 84, in check_and_raise_error
    raise error[1].with_traceback(error[2])
  File "C:\Users\Matt\faceswap\lib\multithreading.py", line 37, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Matt\faceswap\lib\image.py", line 882, in _process
    for retval in iterator():
  File "C:\Users\Matt\faceswap\lib\image.py", line 906, in _from_video
    for idx, frame in enumerate(reader):
  File "C:\Users\Matt\MiniConda3\envs\faceswap\lib\site-packages\imageio\core\format.py", line 406, in iter_data
    im, meta = self._get_data(i)
  File "C:\Users\Matt\MiniConda3\envs\faceswap\lib\site-packages\imageio\plugins\ffmpeg.py", line 384, in _get_data
    result, is_new = self._read_frame()
  File "C:\Users\Matt\MiniConda3\envs\faceswap\lib\site-packages\imageio\plugins\ffmpeg.py", line 486, in _read_frame
    s = self._read_gen.__next__()
  File "C:\Users\Matt\MiniConda3\envs\faceswap\lib\site-packages\imageio_ffmpeg\_io.py", line 211, in read_frames
    raise RuntimeError(fmt.format(framenr, err1, err2))
RuntimeError: Could not read frame 106:

=== stderr ===
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20200122
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\Faceswap Resources\v1\kk11.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41

encoder         : Lavf58.20.100
  Duration: 00:00:16.21, start: 0.020000, bitrate: 16553 kb/s

Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 16363 kb/s, 50.06 fps, 50 tbr, 12800 tbn, 100 tbc (default)
Metadata:
  handler_name    : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
Metadata:
  handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Output #0, image2pipe, to 'pipe:':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.29.100
    Stream #0:0(und): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1280x720, q=2-31, 1105920 kb/s, 50 fps, 50 tbn, 50 tbc (default)
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20200122
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\Faceswap Resources\v1\kk11.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41

encoder         : Lavf58.20.100
  Duration: 00:00:16.21, start: 0.020000, bitrate: 16553 kb/s

Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 16363 kb/s, 50.06 fps, 50 tbr, 12800 tbn, 100 tbc (default)
Metadata:
  handler_name    : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
Metadata:
  handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Output #0, image2pipe, to 'pipe:':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.29.100
    Stream #0:0(und): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1280x720, q=2-31, 1105920 kb/s, 50 fps, 50 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc58.54.100 rawvideo
frame=   28 fps= 11 q=-0.0 size=   75600kB time=00:00:00.56 bitrate=1105920.0kbits/s speed=0.213x    

============ System Information ============
encoding:            cp1252
git_branch:          master
git_commits:         03d2d17 scripts.extract - Save jpg thumbnails to alignments file. ab21033 argparse bugfix. 5f9d8fa lib.gui.custom_widgets - Force popup progress bar to top. f634f52 lib.gui.utils - Spelling fixes lib.gui.custom_widgets - popup progressbar. 59ade74 lib.alignments - Pad pts timestamps when video does not start on a keyframe
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 RTX 2060 SUPER
gpu_devices_active:  GPU_0
gpu_driver:          451.67
gpu_vram:            GPU_0: 8192MB
os_machine:          AMD64
os_platform:         Windows-10-10.0.18362-SP0
os_release:          10
py_command:          C:\Users\Matt\faceswap\faceswap.py convert -i I:/Faceswap Resources/v1/kk11.mp4 -o I:/Faceswap Resources/convert -al I:/Faceswap Resources/v1/kk11_alignments.fsa -m I:/Faceswap Resources/models/kel1st/original_archived_20200708_221658 -c avg-color -M extended -sc none -w ffmpeg -osc 100 -l 0.4 -j 0 -g 1 -ag -sp -L INFO -gui
py_conda_version:    conda 4.8.3
py_implementation:   CPython
py_version:          3.7.7
py_virtual_env:      True
sys_cores:           4
sys_processor:       AMD64 Family 23 Model 17 Stepping 0, AuthenticAMD
sys_ram:             Total: 8139MB, Available: 2661MB, Used: 5477MB, Free: 2661MB

=============== Pip Packages ===============
absl-py==0.9.0
astor==0.8.0
blinker==1.4
brotlipy==0.7.0
cachetools==4.1.0
certifi==2020.6.20
cffi==1.14.0
chardet==3.0.4
click==7.1.2
cloudpickle==1.4.1
cryptography==2.9.2
cycler==0.10.0
cytoolz==0.10.1
dask @ file:///tmp/build/80754af9/dask-core_1592842333140/work
decorator==4.4.2
fastcluster==1.1.26
ffmpy==0.2.3
gast==0.2.2
google-auth==1.14.1
google-auth-oauthlib==0.4.1
google-pasta==0.2.0
grpcio==1.27.2
h5py==2.10.0
idna @ file:///tmp/build/80754af9/idna_1593446292537/work
imageio==2.8.0
imageio-ffmpeg==0.4.2
joblib==0.15.1
Keras==2.2.4
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.2
kiwisolver==1.2.0
Markdown==3.1.1
matplotlib @ file:///C:/ci/matplotlib-base_1592846084747/work
mkl-fft==1.1.0
mkl-random==1.1.1
mkl-service==2.3.0
networkx==2.4
numpy==1.18.5
nvidia-ml-py3 @ git+https://github.com/deepfakes/nvidia-ml-py3.git@6fc29ac84b32bad877f078cb4a777c1548a00bf6
oauthlib==3.1.0
olefile==0.46
opencv-python==4.2.0.34
opt-einsum==3.1.0
pathlib==1.0.1
Pillow==7.1.2
protobuf==3.12.3
psutil==5.7.0
pyasn1==0.4.8
pyasn1-modules==0.2.7
pycparser==2.20
PyJWT==1.7.1
pyOpenSSL==19.1.0
pyparsing==2.4.7
pyreadline==2.1
PySocks==1.7.1
python-dateutil==2.8.1
PyWavelets==1.1.1
pywin32==227
PyYAML==5.3.1
requests @ file:///tmp/build/80754af9/requests_1592841827918/work
requests-oauthlib==1.3.0
rsa==4.0
scikit-image==0.16.2
scikit-learn @ file:///C:/ci/scikit-learn_1592847564598/work
scipy @ file:///C:/ci/scipy_1592916958183/work
six==1.15.0
tensorboard==2.2.1
tensorboard-plugin-wit==1.6.0
tensorflow==1.15.0
tensorflow-estimator==1.15.1
termcolor==1.1.0
threadpoolctl @ file:///tmp/tmp9twdgx9k/threadpoolctl-2.1.0-py3-none-any.whl
toolz==0.10.0
toposort==1.5
tornado==6.0.4
tqdm @ file:///tmp/build/80754af9/tqdm_1593446365756/work
urllib3==1.25.9
Werkzeug==0.16.1
win-inet-pton==1.1.0
wincertstore==0.2
wrapt==1.12.1

============== Conda Packages ==============
# packages in environment at C:\Users\Matt\MiniConda3\envs\faceswap:
#
# Name                    Version                   Build  Channel
_tflow_select             2.1.0                       gpu  
absl-py 0.9.0 py37_0
astor 0.8.0 py37_0
blas 1.0 mkl
blinker 1.4 py37_0
brotlipy 0.7.0 py37he774522_1000
ca-certificates 2020.6.24 0
cachetools 4.1.0 py_1
certifi 2020.6.20 py37_0
cffi 1.14.0 py37h7a1dbc1_0
chardet 3.0.4 py37_1003
click 7.1.2 py_0
cloudpickle 1.4.1 py_0
cryptography 2.9.2 py37h7a1dbc1_0
cudatoolkit 10.0.130 0
cudnn 7.6.5 cuda10.0_0
cycler 0.10.0 py37_0
cytoolz 0.10.1 py37he774522_0
dask-core 2.19.0 py_0
decorator 4.4.2 py_0
fastcluster 1.1.26 pypi_0 pypi ffmpy 0.2.3 pypi_0 pypi freetype 2.10.2 hd328e21_0
gast 0.2.2 py37_0
git 2.23.0 h6bb4b03_0
google-auth 1.14.1 py_0
google-auth-oauthlib 0.4.1 py_2
google-pasta 0.2.0 py_0
grpcio 1.27.2 py37h351948d_0
h5py 2.10.0 py37h5e291fa_0
hdf5 1.10.4 h7ebc959_0
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha925a31_3
idna 2.10 py_0
imageio 2.8.0 py_0
imageio-ffmpeg 0.4.2 pypi_0 pypi intel-openmp 2020.1 216
joblib 0.15.1 py_0
jpeg 9b hb83a4c4_2
keras 2.2.4 pypi_0 pypi keras-applications 1.0.8 py_0
keras-preprocessing 1.1.2 pypi_0 pypi kiwisolver 1.2.0 py37h74a9793_0
libpng 1.6.37 h2a8f88b_0
libprotobuf 3.12.3 h7bd577a_0
libtiff 4.1.0 h56a325e_1
lz4-c 1.9.2 h62dcd97_0
markdown 3.1.1 py37_0
matplotlib 3.2.2 0
matplotlib-base 3.2.2 py37h64f37c6_0
mkl 2020.1 216
mkl-service 2.3.0 py37hb782905_0
mkl_fft 1.1.0 py37h45dec08_0
mkl_random 1.1.1 py37h47e9c7a_0
networkx 2.4 py_0
numpy 1.18.5 py37h6530119_0
numpy-base 1.18.5 py37hc3f5095_0
nvidia-ml-py3 7.352.1 pypi_0 pypi oauthlib 3.1.0 py_0
olefile 0.46 py37_0
opencv-python 4.2.0.34 pypi_0 pypi openssl 1.1.1g he774522_0
opt_einsum 3.1.0 py_0
pathlib 1.0.1 py37_1
pillow 7.1.2 py37hcc1f983_0
pip 20.1.1 py37_1
protobuf 3.12.3 py37h33f27b4_0
psutil 5.7.0 py37he774522_0
pyasn1 0.4.8 py_0
pyasn1-modules 0.2.7 py_0
pycparser 2.20 py_0
pyjwt 1.7.1 py37_0
pyopenssl 19.1.0 py37_0
pyparsing 2.4.7 py_0
pyqt 5.9.2 py37h6538335_2
pyreadline 2.1 py37_1
pysocks 1.7.1 py37_0
python 3.7.7 h81c818b_4
python-dateutil 2.8.1 py_0
pywavelets 1.1.1 py37he774522_0
pywin32 227 py37he774522_1
pyyaml 5.3.1 py37he774522_1
qt 5.9.7 vc14h73c81de_0
requests 2.24.0 py_0
requests-oauthlib 1.3.0 py_0
rsa 4.0 py_0
scikit-image 0.16.2 py37h47e9c7a_0
scikit-learn 0.23.1 py37h25d0782_0
scipy 1.5.0 py37h9439919_0
setuptools 47.3.1 py37_0
sip 4.19.8 py37h6538335_0
six 1.15.0 py_0
sqlite 3.32.3 h2a8f88b_0
tensorboard 2.2.1 pyh532a8cf_0
tensorboard-plugin-wit 1.6.0 py_0
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
threadpoolctl 2.1.0 pyh5ca1d4c_0
tk 8.6.10 he774522_0
toolz 0.10.0 py_0
toposort 1.5 pypi_0 pypi tornado 6.0.4 py37he774522_1
tqdm 4.47.0 py_0
urllib3 1.25.9 py_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.16.27012 hf0eaf9b_2
werkzeug 0.16.1 py_0
wheel 0.34.2 py37_0
win_inet_pton 1.1.0 py37_0
wincertstore 0.2 py37_0
wrapt 1.12.1 py37he774522_1
xz 5.2.5 h62dcd97_0
yaml 0.2.5 he774522_0
zlib 1.2.11 h62dcd97_4
zstd 1.4.4 ha9fde0e_3 ================= 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 kernel_size: 3 passes: 4 threshold: 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: 1 [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: 1 [mask.unet_dfl] batch-size: 1 [mask.vgg_clear] batch-size: 6 [mask.vgg_obstructed] batch-size: 2 --------- gui.ini --------- [global] fullscreen: True 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 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: 10 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
The beginning of the end.
User avatar
Antipope1
Posts: 35
Joined: Thu Jul 02, 2020 10:51 am
Has thanked: 6 times
Been thanked: 3 times

Re: Another missing alignments post...

Post by Antipope1 »

Code: Select all

07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'extract0_align_in')
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'extract0_align_in'
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'extract0_align_in'
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'extract0_mask_0_in', maxsize: 1)
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'extract0_mask_0_in')
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'extract0_mask_0_in'
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'extract0_mask_0_in'
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'extract0_mask_1_in', maxsize: 1)
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'extract0_mask_1_in')
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'extract0_mask_1_in'
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'extract0_mask_1_in'
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'extract0_mask_1_out', maxsize: 1)
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'extract0_mask_1_out')
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'extract0_mask_1_out'
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'extract0_mask_1_out'
07/09/2020 23:11:00 MainProcess     MainThread      pipeline        _add_queues               DEBUG    Queues: {'extract0_detect_in': <queue.Queue object at 0x0000026572CB9348>, 'extract0_align_in': <queue.Queue object at 0x0000026572CB92C8>, 'extract0_mask_0_in': <queue.Queue object at 0x0000026572CB9208>, 'extract0_mask_1_in': <queue.Queue object at 0x0000026572C97048>, 'extract0_mask_1_out': <queue.Queue object at 0x0000026572CB4708>}
07/09/2020 23:11:00 MainProcess     MainThread      pipeline        __init__                  DEBUG    Initialized Extractor
07/09/2020 23:11:00 MainProcess     MainThread      extract         __init__                  DEBUG    Initialized Extract
07/09/2020 23:11:00 MainProcess     MainThread      extract         process                   INFO     Starting, this may take a while...
07/09/2020 23:11:00 MainProcess     MainThread      extract         _threaded_redirector      DEBUG    Threading task: (Task: 'load')
07/09/2020 23:11:00 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: '_load', thread_count: 1)
07/09/2020 23:11:00 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: '_load'
07/09/2020 23:11:00 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): '_load'
07/09/2020 23:11:00 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: '_load_0'
07/09/2020 23:11:00 MainProcess     _load_0         extract         _load                     DEBUG    Load Images: Start
07/09/2020 23:11:00 MainProcess     _load_0         image           load                      DEBUG    Initializing Load Generator
07/09/2020 23:11:00 MainProcess     _load_0         image           _set_thread               DEBUG    Setting thread
07/09/2020 23:11:00 MainProcess     _load_0         multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'ImagesLoader', thread_count: 1)
07/09/2020 23:11:00 MainProcess     _load_0         multithreading  __init__                  DEBUG    Initialized MultiThread: 'ImagesLoader'
07/09/2020 23:11:00 MainProcess     _load_0         image           _set_thread               DEBUG    Set thread: <lib.multithreading.MultiThread object at 0x0000026572CB9C08>
07/09/2020 23:11:00 MainProcess     _load_0         multithreading  start                     DEBUG    Starting thread(s): 'ImagesLoader'
07/09/2020 23:11:00 MainProcess     _load_0         multithreading  start                     DEBUG    Starting thread 1 of 1: 'ImagesLoader_0'
07/09/2020 23:11:00 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads '_load': 1
07/09/2020 23:11:00 MainProcess     MainThread      image           __init__                  DEBUG    Initializing ImagesSaver: (path: I:\Faceswap Resources\prkel\a, queue_size: 8, as_bytes: True)
07/09/2020 23:11:00 MainProcess     MainThread      image           __init__                  DEBUG    Initializing ImagesSaver: (path: I:\Faceswap Resources\prkel\a, queue_size: 8, args: None)
07/09/2020 23:11:00 MainProcess     ImagesLoader_0  image           _process                  DEBUG    Load iterator: <bound method ImagesLoader._from_video of <lib.image.ImagesLoader object at 0x0000026572862348>>
07/09/2020 23:11:00 MainProcess     ImagesLoader_0  image           _from_video               DEBUG    Loading frames from video: 'I:\Faceswap Resources\v1\kk11.mp4'
07/09/2020 23:11:00 MainProcess     _load_0         multithreading  start                     DEBUG    Started all threads 'ImagesLoader': 1
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'ImagesSaver'
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'ImagesSaver', maxsize: 8)
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'ImagesSaver')
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'ImagesSaver'
07/09/2020 23:11:00 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launching detect plugin
07/09/2020 23:11:00 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    in_qname: extract0_detect_in, out_qname: extract0_align_in
07/09/2020 23:11:00 MainProcess     MainThread      _base           initialize                DEBUG    initialize Detect: (args: (), kwargs: {'in_queue': <queue.Queue object at 0x0000026572CB9348>, 'out_queue': <queue.Queue object at 0x0000026572CB92C8>})
07/09/2020 23:11:00 MainProcess     MainThread      _base           initialize                INFO     Initializing S3FD (Detect)...
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'detect0_predict_s3fd'
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'detect0_predict_s3fd', maxsize: 1)
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'detect0_predict_s3fd')
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'detect0_predict_s3fd'
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'detect0_post_s3fd'
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'detect0_post_s3fd', maxsize: 1)
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'detect0_post_s3fd')
07/09/2020 23:11:00 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'detect0_post_s3fd'
07/09/2020 23:11:00 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiling detect threads
07/09/2020 23:11:00 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: detect_s3fd_input, function: <bound method Detect.process_input of <plugins.extract.detect.s3fd.Detect object at 0x00000265729FD948>>, in_queue: <queue.Queue object at 0x0000026572CB9348>, out_queue: <queue.Queue object at 0x0000026572CB12C8>)
07/09/2020 23:11:00 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'detect_s3fd_input', thread_count: 1)
07/09/2020 23:11:00 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'detect_s3fd_input'
07/09/2020 23:11:00 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: detect_s3fd_input
07/09/2020 23:11:00 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: detect_s3fd_predict, function: <bound method Detector._predict of <plugins.extract.detect.s3fd.Detect object at 0x00000265729FD948>>, in_queue: <queue.Queue object at 0x0000026572CB12C8>, out_queue: <queue.Queue object at 0x0000026572CB1B48>)
07/09/2020 23:11:00 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'detect_s3fd_predict', thread_count: 1)
07/09/2020 23:11:00 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'detect_s3fd_predict'
07/09/2020 23:11:00 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: detect_s3fd_predict
07/09/2020 23:11:00 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: detect_s3fd_output, function: <bound method Detect.process_output of <plugins.extract.detect.s3fd.Detect object at 0x00000265729FD948>>, in_queue: <queue.Queue object at 0x0000026572CB1B48>, out_queue: <queue.Queue object at 0x0000026572CB92C8>)
07/09/2020 23:11:00 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'detect_s3fd_output', thread_count: 1)
07/09/2020 23:11:00 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'detect_s3fd_output'
07/09/2020 23:11:00 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: detect_s3fd_output
07/09/2020 23:11:00 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiled detect threads: [<lib.multithreading.MultiThread object at 0x0000026572CB1788>, <lib.multithreading.MultiThread object at 0x0000026572CB1388>, <lib.multithreading.MultiThread object at 0x0000026572CB1448>]
07/09/2020 23:11:00 MainProcess     MainThread      s3fd            __init__                  DEBUG    Initializing: S3fd: (model_path: 'C:\Users\Matt\faceswap\plugins\extract\detect\.cache\s3fd_keras_v1.h5', allow_growth: True)
07/09/2020 23:11:00 MainProcess     MainThread      module_wrapper  _tfmw_add_deprecation_warning DEBUG    From C:\Users\Matt\faceswap\lib\model\session.py:112: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.\n
07/09/2020 23:11:00 MainProcess     MainThread      module_wrapper  _tfmw_add_deprecation_warning DEBUG    From C:\Users\Matt\faceswap\lib\model\session.py:116: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.\n
07/09/2020 23:11:01 MainProcess     MainThread      session         _set_session              DEBUG    Created tf.session: (graph: <tensorflow.python.framework.ops.Graph object at 0x0000026572A29F88>, session: <tensorflow.python.client.session.Session object at 0x0000026572CA7248>, config: gpu_options {\n  allow_growth: true\n}\n)
07/09/2020 23:11:01 MainProcess     MainThread      session         load_model                VERBOSE  Initializing plugin model: S3FD
07/09/2020 23:11:01 MainProcess     MainThread      module_wrapper  _tfmw_add_deprecation_warning DEBUG    From C:\Users\Matt\MiniConda3\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
07/09/2020 23:11:01 MainProcess     MainThread      module_wrapper  _tfmw_add_deprecation_warning DEBUG    From C:\Users\Matt\MiniConda3\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
07/09/2020 23:11:01 MainProcess     MainThread      module_wrapper  _tfmw_add_deprecation_warning DEBUG    From C:\Users\Matt\MiniConda3\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
07/09/2020 23:11:01 MainProcess     MainThread      module_wrapper  _tfmw_add_deprecation_warning DEBUG    From C:\Users\Matt\MiniConda3\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
07/09/2020 23:11:01 MainProcess     MainThread      module_wrapper  _tfmw_add_deprecation_warning DEBUG    From C:\Users\Matt\MiniConda3\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
07/09/2020 23:11:01 MainProcess     MainThread      module_wrapper  _tfmw_add_deprecation_warning DEBUG    From C:\Users\Matt\MiniConda3\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
07/09/2020 23:11:01 MainProcess     MainThread      module_wrapper  _tfmw_add_deprecation_warning DEBUG    From C:\Users\Matt\MiniConda3\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
07/09/2020 23:11:03 MainProcess     MainThread      module_wrapper  _tfmw_add_deprecation_warning DEBUG    From C:\Users\Matt\MiniConda3\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
07/09/2020 23:11:03 MainProcess     MainThread      module_wrapper  _tfmw_add_deprecation_warning DEBUG    From C:\Users\Matt\MiniConda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py:3295: The name tf.log is deprecated. Please use tf.math.log instead.\n
07/09/2020 23:11:03 MainProcess     MainThread      s3fd            __init__                  DEBUG    Initialized: S3fd
07/09/2020 23:11:03 MainProcess     MainThread      _base           initialize                INFO     Initialized S3FD (Detect) with batchsize of 4
07/09/2020 23:11:03 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'detect_s3fd_input'
07/09/2020 23:11:03 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'detect_s3fd_input_0'
07/09/2020 23:11:03 MainProcess     detect_s3fd_input_0 _base           _thread_process           DEBUG    threading: (function: 'process_input')
07/09/2020 23:11:03 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'detect_s3fd_input': 1
07/09/2020 23:11:03 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'detect_s3fd_predict'
07/09/2020 23:11:03 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'detect_s3fd_predict_0'
07/09/2020 23:11:03 MainProcess     detect_s3fd_predict_0 _base           _thread_process           DEBUG    threading: (function: '_predict')
07/09/2020 23:11:03 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'detect_s3fd_predict': 1
07/09/2020 23:11:03 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'detect_s3fd_output'
07/09/2020 23:11:03 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'detect_s3fd_output_0'
07/09/2020 23:11:03 MainProcess     detect_s3fd_output_0 _base           _thread_process           DEBUG    threading: (function: 'process_output')
07/09/2020 23:11:03 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'detect_s3fd_output': 1
07/09/2020 23:11:03 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launched detect plugin
07/09/2020 23:11:03 MainProcess     MainThread      pipeline        detected_faces            DEBUG    Running Detection. Phase: '['detect']'
07/09/2020 23:11:08 MainProcess     detect_s3fd_predict_0 multithreading  run                       DEBUG    Error in thread (detect_s3fd_predict_0): Could not allocate ndarray
07/09/2020 23:11:08 MainProcess     MainThread      multithreading  check_and_raise_error     DEBUG    Thread error caught: [(<class 'tensorflow.python.framework.errors_impl.InternalError'>, InternalError(), <traceback object at 0x0000026572C97CC8>)]
Traceback (most recent call last):
  File "C:\Users\Matt\faceswap\lib\cli\launcher.py", line 155, in execute_script
    process.process()
  File "C:\Users\Matt\faceswap\scripts\extract.py", line 116, in process
    self._run_extraction()
  File "C:\Users\Matt\faceswap\scripts\extract.py", line 212, in _run_extraction
    for idx, extract_media in enumerate(status_bar):
  File "C:\Users\Matt\MiniConda3\envs\faceswap\lib\site-packages\tqdm\std.py", line 1129, in __iter__
    for obj in iterable:
  File "C:\Users\Matt\faceswap\plugins\extract\pipeline.py", line 229, in detected_faces
    if self._check_and_raise_error():
  File "C:\Users\Matt\faceswap\plugins\extract\pipeline.py", line 648, in _check_and_raise_error
    if plugin.check_and_raise_error():
  File "C:\Users\Matt\faceswap\plugins\extract\_base.py", line 300, in check_and_raise_error
    err = thread.check_and_raise_error()
  File "C:\Users\Matt\faceswap\lib\multithreading.py", line 84, in check_and_raise_error
    raise error[1].with_traceback(error[2])
  File "C:\Users\Matt\faceswap\lib\multithreading.py", line 37, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Matt\faceswap\plugins\extract\_base.py", line 418, in _thread_process
    batch = function(batch)
  File "C:\Users\Matt\faceswap\plugins\extract\detect\_base.py", line 207, in _predict
    batch = self.predict(batch)
  File "C:\Users\Matt\faceswap\plugins\extract\detect\s3fd.py", line 50, in predict
    predictions = self.model.predict(batch["feed"])
  File "C:\Users\Matt\faceswap\lib\model\session.py", line 68, in predict
    return self._model.predict(feed, batch_size=batch_size)
  File "C:\Users\Matt\MiniConda3\envs\faceswap\lib\site-packages\keras\engine\training.py", line 1169, in predict
    steps=steps)
  File "C:\Users\Matt\MiniConda3\envs\faceswap\lib\site-packages\keras\engine\training_arrays.py", line 294, in predict_loop
    batch_outs = f(ins_batch)
  File "C:\Users\Matt\MiniConda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py", line 2715, in __call__
    return self._call(inputs)
  File "C:\Users\Matt\MiniConda3\envs\faceswap\lib\site-packages\keras\backend\tensorflow_backend.py", line 2675, in _call
    fetched = self._callable_fn(*array_vals)
  File "C:\Users\Matt\MiniConda3\envs\faceswap\lib\site-packages\tensorflow_core\python\client\session.py", line 1472, in __call__
    run_metadata_ptr)
tensorflow.python.framework.errors_impl.InternalError: Could not allocate ndarray

============ System Information ============
encoding:            cp1252
git_branch:          master
git_commits:         03d2d17 scripts.extract - Save jpg thumbnails to alignments file. ab21033 argparse bugfix. 5f9d8fa lib.gui.custom_widgets - Force popup progress bar to top. f634f52 lib.gui.utils - Spelling fixes lib.gui.custom_widgets - popup progressbar. 59ade74 lib.alignments - Pad pts timestamps when video does not start on a keyframe
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 RTX 2060 SUPER
gpu_devices_active:  GPU_0
gpu_driver:          451.67
gpu_vram:            GPU_0: 8192MB
os_machine:          AMD64
os_platform:         Windows-10-10.0.18362-SP0
os_release:          10
py_command:          C:\Users\Matt\faceswap\faceswap.py extract -i I:/Faceswap Resources/v1/kk11.mp4 -o I:/Faceswap Resources/prkel/a -D s3fd -A fan -nm hist -min 0 -l 0.4 -een 1 -sz 256 -si 0 -sp -L INFO -gui
py_conda_version:    conda 4.8.3
py_implementation:   CPython
py_version:          3.7.7
py_virtual_env:      True
sys_cores:           4
sys_processor:       AMD64 Family 23 Model 17 Stepping 0, AuthenticAMD
sys_ram:             Total: 8139MB, Available: 3572MB, Used: 4566MB, Free: 3572MB

=============== Pip Packages ===============


============== Conda Packages ==============
Could not get package list

================= 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
kernel_size:              3
passes:                   4
threshold:                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:               True
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
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:           10
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

Edit: if I'm having another system ram problem, at the end of the month I shall be upgrading my 8gb to 32gb anyway, that should do the trick!

You will also be gaining a new patreon :D

The beginning of the end.
User avatar
bryanlyon
Site Admin
Posts: 793
Joined: Fri Jul 12, 2019 12:49 am
Answers: 44
Location: San Francisco
Has thanked: 4 times
Been thanked: 218 times
Contact:

Re: Another missing alignments post...

Post by bryanlyon »

Yeah, that one looks like a RAM issue. But it shouldn't be a problem, 8gb is what Torzdf tests on, so SHOULD be workable. Might be worth examining your process. Are you using an obscene number of images or something like that?

User avatar
Antipope1
Posts: 35
Joined: Thu Jul 02, 2020 10:51 am
Has thanked: 6 times
Been thanked: 3 times

Re: Another missing alignments post...

Post by Antipope1 »

Not at all, there are 260 images from my video A, and just over 1000 in my video B.
Seems there may be an issue with my pc, not faceswap.
Possibly a RAM leakage (so I have read on Google), however I don't know how, as I said every other program is closed, I have ended tasks in task manager that are obviously not needed, performed a disk cleanup and deleted windows temp files!
I'm no computer expert so I really don't know what else it can be!
Thought I'd mention, I'm now a low level patreon :D

Edit: just a thought, my processor is only a ryzen 3 2200, this is on my list to upgrade asap to ryzen 7 3xxx, could this be causing me issues?

Last edited by Antipope1 on Fri Jul 10, 2020 10:14 am, edited 1 time in total.
The beginning of the end.
User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: Another missing alignments post...

Post by torzdf »

The CPU shouldn't cause issues.

Out of interest, what's the resolution of the video you're attempting to convert?

My word is final

User avatar
Antipope1
Posts: 35
Joined: Thu Jul 02, 2020 10:51 am
Has thanked: 6 times
Been thanked: 3 times

Re: Another missing alignments post...

Post by Antipope1 »

I think it's 1080, possibly 720, I shall check when I am home later.
B video and images used for training were 1080 for sure.

The beginning of the end.
User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: Another missing alignments post...

Post by torzdf »

1080 should be fine. Was just seeing if there was a potential issue with 4K extracts

My word is final

User avatar
life2020
Posts: 8
Joined: Mon Jul 06, 2020 9:51 pm

Alignment for frame

Post by life2020 »

Do I need to have an alignment for every frame in the video? It seems very excessive if that is the case. When attempting to convert I get No alignment found for 009956.png, skipping despite not having moved the folder. This happens when the video is the input DIR, the alignments file is the Face A file (I only have a few manual alignments in there) and then my model DIR. I did try using a reference video but it made no difference

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

Re: Alignment for frame

Post by torzdf »

You should check the Alignments section of the guide on why you need an alignments file, and what it's used for. This should clear up any confusion:

viewtopic.php?f=5&t=27#align

My word is final

User avatar
Antipope1
Posts: 35
Joined: Thu Jul 02, 2020 10:51 am
Has thanked: 6 times
Been thanked: 3 times

Re: Another missing alignments post...

Post by Antipope1 »

Solved!
There was no problem with faceswap at all, love this program, especially now I have it working! :D

I don't know what was eating up all my ram, and I tried everything under the sun to find what it was and sort it out but I couldn't, so I went for the only option I had left... Rebooted windows! :shock: :?

Now everything is working faster, and faceswap is doing everything it should.
Thank you to the creators and developers for constantly updating and improving this amazing program, and for all the help in the forum.

The beginning of the end.
User avatar
desertskye
Posts: 6
Joined: Thu Aug 06, 2020 2:15 am

General Convert

Post by desertskye »

Hi. I'm still super confused on the whole convert process. I have my video "A" and the alignments file for "A", and a trained model. What do I have to do in conversion to swap Face B onto video A? I'm not seeing anywhere to put it, and am generally confused on the conversion process. Thanks

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

Re: General Convert

Post by torzdf »

This thread should help, where your specific issue is also covered (a little later on).

if you're still struggling, let us know:

viewtopic.php?f=7&t=728

My word is final

User avatar
desertskye
Posts: 6
Joined: Thu Aug 06, 2020 2:15 am

Re: General Convert

Post by desertskye »

Hey, so ive read through the forum. So the convert process is not for faceswapping (ex Face B onto video A). What process do i run to do a faceswap/deepfake? Thanks

User avatar
desertskye
Posts: 6
Joined: Thu Aug 06, 2020 2:15 am

Re: General Convert

Post by desertskye »

Sorry, I misread the thread. The conversion process is for faceswapping, yet the video that I want to swap on (video b) has no bearing? How would I choose which video to faceswap onto video A? thanks

User avatar
desertskye
Posts: 6
Joined: Thu Aug 06, 2020 2:15 am

Re: General Convert

Post by desertskye »

Sorry for the spam, I'm testing this as I post. I've been running my convert process and its swapping a face onto my original "A" video, but it seems to just be choosing one of the faces I used for training my model. For example, I trained my model with about 10 different faces, but its only using trump (one of the training faces) as the faceswap "B" face. How do I make it use a certain face. Secondly, it seems that I'm swapping the face, but only the face from middle of forehead to chin. Is there a way to swap the whole image including background, where the new face is moving? For now it's swapping trump onto the original video, yet the original video's background and hair is still in the end video. Is this an issue that I can change or is it an issue because I havent trained my model enough yet? For reference I am using the dlight trainer and typically use a VGG obstructed mask, although tests without a mask gave me worse results. Thanks

User avatar
bryanlyon
Site Admin
Posts: 793
Joined: Fri Jul 12, 2019 12:49 am
Answers: 44
Location: San Francisco
Has thanked: 4 times
Been thanked: 218 times
Contact:

Re: General Convert

Post by bryanlyon »

If you trained with 10 different faces you trained it incorrectly. Please go back to the training guide viewtopic.php?f=6&t=146 and follow it for ONE face per side. One face on A and one face on B. See also viewtopic.php?f=6&t=74#reuse .

User avatar
desertskye
Posts: 6
Joined: Thu Aug 06, 2020 2:15 am

Re: General Convert

Post by desertskye »

Ah okay, my bad. So should I continue with my model and only use one face, or would I be better off just making a new model? Thanks

User avatar
bryanlyon
Site Admin
Posts: 793
Joined: Fri Jul 12, 2019 12:49 am
Answers: 44
Location: San Francisco
Has thanked: 4 times
Been thanked: 218 times
Contact:

Re: General Convert

Post by bryanlyon »

I'd recommend deleting and starting over. But if you only used multiples on side B then you could delete the B decoder and start just that one over (the best way to do this is to start a new model then copy over the encoder and the A side decoder), but then you stand the chance of overtraining your A side. If you have enough data, it might be worth doing that.

User avatar
abigflea
Posts: 182
Joined: Sat Feb 22, 2020 10:59 pm
Answers: 2
Has thanked: 20 times
Been thanked: 62 times

Re: General Convert

Post by abigflea »

Why you need more sources.
I made some examples.

viewtopic.php?f=6&t=831

:o I dunno what I'm doing :shock:
2X RTX 3090 : RTX 3080 : RTX: 2060 : 2x RTX 2080 Super : Ghetto 1060

User avatar
desertskye
Posts: 6
Joined: Thu Aug 06, 2020 2:15 am

Re: General Convert

Post by desertskye »

Okay, thanks a lot. I'll probably just start over, i'm in no rush and would rather not have to deal with major problems or drops in quality. One last question, for the faces that i input into the training sessions, do I use (for example) the faces from one of obama's speeches or faces from multiple different obama speeches? Thanks

Locked