CRITICAL An unexpected crash has occurred

Getting errors or found a bug when converting faces from a trained model? Post about them here


Forum rules

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

This forum is for reporting errors with the Convert process. If you want to get tips, or better understand the Convert process, then you should look in the Convert Discussion forum.

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

Post Reply
User avatar
sm2k
Posts: 1
Joined: Mon Dec 02, 2024 5:09 am
Answers: 0

CRITICAL An unexpected crash has occurred

Post by sm2k »

I got this error when trying to convert. I am running v2.2.0 on Win10 x64.

CRITICAL An unexpected crash has occurred. Crash report written to 'C:\Users\sm\faceswap\crash_report.2024.12.01.220333724140.log'. You MUST provide this file if seeking assistance. Please verify you are running the latest version of faceswap before reporting

Below is the log file

Code: Select all

12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'color.manual_balance', title: 'balance_3', datatype: '<class 'float'>', default: '0.0', info: 'Balance of channel 3:\n	RGB: Blue\n	HSV: Intensity\n	LAB: Blue > Yellow\n	YCrCb: Distance of blue from Luma', rounding: '1', min_max: (-100.0, 100.0), choices: [], gui_radio: False, fixed: True, group: color balance)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'color.manual_balance', title: 'contrast', datatype: '<class 'float'>', default: '0.0', info: 'Amount of contrast applied.', rounding: '1', min_max: (-100.0, 100.0), choices: [], gui_radio: False, fixed: True, group: brightness contrast)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'color.manual_balance', title: 'brightness', datatype: '<class 'float'>', default: '0.0', info: 'Amount of brighness applied.', rounding: '1', min_max: (-100.0, 100.0), choices: [], gui_radio: False, fixed: True, group: brightness contrast)
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Added defaults: color.manual_balance
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Adding defaults: (filename: match_hist_defaults.py, module_path: plugins.convert.color, plugin_type: color
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Importing defaults module: plugins.convert.color.match_hist_defaults
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_section                    DEBUG    Add section: (title: 'color.match_hist', info: 'Options for matching the histograms between the source and destination faces')
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'color.match_hist', title: 'threshold', datatype: '<class 'float'>', default: '99.0', info: 'Adjust the threshold for histogram matching. Can reduce extreme colors leaking in by filtering out colors at the extreme ends of the histogram spectrum.', rounding: '1', min_max: (90.0, 100.0), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Added defaults: color.match_hist
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Adding defaults: (filename: mask_blend_defaults.py, module_path: plugins.convert.mask, plugin_type: mask
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Importing defaults module: plugins.convert.mask.mask_blend_defaults
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_section                    DEBUG    Add section: (title: 'mask.mask_blend', info: 'Options for blending the edges between the mask and the background image')
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'mask.mask_blend', title: 'type', datatype: '<class 'str'>', default: 'normalized', info: 'The type of blending to use:\n	 gaussian: Blend with Gaussian filter. Slower, but often better than Normalized\n	 normalized: Blend with Normalized box filter. Faster than Gaussian\n	 none: Don't perform blending', rounding: 'None', min_max: None, choices: ['gaussian', 'normalized', 'none'], gui_radio: True, fixed: True, group: Blending type)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'mask.mask_blend', title: 'kernel_size', datatype: '<class 'int'>', default: '3', info: 'The kernel size dictates how much blending should occur.\nThe size is the diameter of the kernel in pixels (calculated from a 128px mask). This value should be odd, if an even number is passed in then it will be rounded to the next odd number. Higher sizes means more blending.', rounding: '1', min_max: (1, 9), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'mask.mask_blend', title: 'passes', datatype: '<class 'int'>', default: '4', info: 'The number of passes to perform. Additional passes of the blending algorithm can improve smoothing at a time cost. This is more useful for 'box' type blending.\nAdditional passes have exponentially less effect so it's not worth setting this too high.', rounding: '1', min_max: (1, 8), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'mask.mask_blend', title: 'threshold', datatype: '<class 'int'>', default: '4', info: 'Sets pixels that are near white to white and near black to black. Set to 0 for off.', rounding: '1', min_max: (0, 50), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'mask.mask_blend', title: 'erosion', datatype: '<class 'float'>', default: '0.0', info: 'Apply erosion to the whole of the face mask.\nErosion kernel size as a percentage of the mask radius area.\nPositive values apply erosion which reduces the size of the swapped area.\nNegative values apply dilation which increases the swapped area.', rounding: '1', min_max: (-100.0, 100.0), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'mask.mask_blend', title: 'erosion_top', datatype: '<class 'float'>', default: '0.0', info: 'Apply erosion to the top part of the mask only.\nPositive values apply erosion which pulls the mask into the center.\nNegative values apply dilation which pushes the mask away from the center.', rounding: '1', min_max: (-100.0, 100.0), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'mask.mask_blend', title: 'erosion_bottom', datatype: '<class 'float'>', default: '0.0', info: 'Apply erosion to the bottom part of the mask only.\nPositive values apply erosion which pulls the mask into the center.\nNegative values apply dilation which pushes the mask away from the center.', rounding: '1', min_max: (-100.0, 100.0), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'mask.mask_blend', title: 'erosion_left', datatype: '<class 'float'>', default: '0.0', info: 'Apply erosion to the left part of the mask only.\nPositive values apply erosion which pulls the mask into the center.\nNegative values apply dilation which pushes the mask away from the center.', rounding: '1', min_max: (-100.0, 100.0), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'mask.mask_blend', title: 'erosion_right', datatype: '<class 'float'>', default: '0.0', info: 'Apply erosion to the right part of the mask only.\nPositive values apply erosion which pulls the mask into the center.\nNegative values apply dilation which pushes the mask away from the center.', rounding: '1', min_max: (-100.0, 100.0), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Added defaults: mask.mask_blend
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Adding defaults: (filename: sharpen_defaults.py, module_path: plugins.convert.scaling, plugin_type: scaling
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Importing defaults module: plugins.convert.scaling.sharpen_defaults
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_section                    DEBUG    Add section: (title: 'scaling.sharpen', info: 'Options for sharpening the face after placement')
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'scaling.sharpen', title: 'method', datatype: '<class 'str'>', default: 'none', info: 'The type of sharpening to use:\n	 none: Don't perform any sharpening.\n	 box: Fastest, but weakest method. Uses a box filter to assess edges.\n	 gaussian: Slower, but better than box. Uses a gaussian filter to assess edges.\n	 unsharp-mask: Slowest, but most tweakable. Uses the unsharp-mask method to assess edges.', rounding: 'None', min_max: None, choices: ['none', 'box', 'gaussian', 'unsharp_mask'], gui_radio: True, fixed: True, group: sharpen type)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'scaling.sharpen', title: 'amount', datatype: '<class 'int'>', default: '150', info: 'Percentage that controls the magnitude of each overshoot (how much darker and how much lighter the edge borders become).\nThis can also be thought of as how much contrast is added at the edges. It does not affect the width of the edge rims.', rounding: '1', min_max: (100, 500), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'scaling.sharpen', title: 'radius', datatype: '<class 'float'>', default: '0.3', info: 'Affects the size of the edges to be enhanced or how wide the edge rims become, so a smaller radius enhances smaller-scale detail.\nRadius is set as a percentage of the final frame width and rounded to the nearest pixel. E.g for a 1280 width frame, a 0.6 percenatage will give a radius of 8px.\nHigher radius values can cause halos at the edges, a detectable faint light rim around objects. Fine detail needs a smaller radius. \nRadius and amount interact; reducing one allows more of the other.', rounding: '1', min_max: (0.1, 5.0), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'scaling.sharpen', title: 'threshold', datatype: '<class 'float'>', default: '5.0', info: '[unsharp_mask only] Controls the minimal brightness change that will be sharpened or how far apart adjacent tonal values have to be before the filter does anything.\nThis lack of action is important to prevent smooth areas from becoming speckled. The threshold setting can be used to sharpen more pronounced edges, while leaving subtler edges untouched. \nLow values should sharpen more because fewer areas are excluded. \nHigher threshold values exclude areas of lower contrast.', rounding: '1', min_max: (1.0, 10.0), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Added defaults: scaling.sharpen
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Adding defaults: (filename: ffmpeg_defaults.py, module_path: plugins.convert.writer, plugin_type: writer
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Importing defaults module: plugins.convert.writer.ffmpeg_defaults
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_section                    DEBUG    Add section: (title: 'writer.ffmpeg', info: 'Options for encoding converted frames to video.')
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.ffmpeg', title: 'container', datatype: '<class 'str'>', default: 'mp4', info: 'Video container to use.', rounding: 'None', min_max: None, choices: ['avi', 'flv', 'mkv', 'mov', 'mp4', 'mpeg', 'webm'], gui_radio: True, fixed: True, group: codec)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.ffmpeg', title: 'codec', datatype: '<class 'str'>', default: 'libx264', info: 'Video codec to use:\n	 libx264: H.264. A widely supported and commonly used codec.\n	 libx265: H.265 / HEVC video encoder application library.', rounding: 'None', min_max: None, choices: ['libx264', 'libx265'], gui_radio: True, fixed: True, group: codec)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.ffmpeg', title: 'crf', datatype: '<class 'int'>', default: '23', info: 'Constant Rate Factor:  0 is lossless and 51 is worst quality possible. A lower value generally leads to higher quality, and a subjectively sane range is 17-28. Consider 17 or 18 to be visually lossless or nearly so; it should look the same or nearly the same as the input but it isn't technically lossless.\nThe range is exponential, so increasing the CRF value +6 results in roughly half the bitrate / file size, while -6 leads to roughly twice the bitrate.', rounding: '1', min_max: (0, 51), choices: [], gui_radio: False, fixed: True, group: quality)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.ffmpeg', title: 'preset', datatype: '<class 'str'>', default: 'medium', info: 'A preset is a collection of options that will provide a certain encoding speed to compression ratio.\nA slower preset will provide better compression (compression is quality per filesize).\nUse the slowest preset that you have patience for.', rounding: 'None', min_max: None, choices: ['ultrafast', 'superfast', 'veryfast', 'faster', 'fast', 'medium', 'slow', 'slower', 'veryslow'], gui_radio: True, fixed: True, group: quality)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.ffmpeg', title: 'tune', datatype: '<class 'str'>', default: 'none', info: 'Change settings based upon the specifics of your input:\n	 none: Don't perform any additional tuning.\n	 film: [H.264 only] Use for high quality movie content; lowers deblocking.\n	 animation: [H.264 only] Good for cartoons; uses higher deblocking and more reference frames.\n	 grain: Preserves the grain structure in old, grainy film material.\n	 stillimage: [H.264 only] Good for slideshow-like content.\n	 fastdecode: Allows faster decoding by disabling certain filters.\n	 zerolatency: Good for fast encoding and low-latency streaming.', rounding: 'None', min_max: None, choices: ['none', 'film', 'animation', 'grain', 'stillimage', 'fastdecode', 'zerolatency'], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.ffmpeg', title: 'profile', datatype: '<class 'str'>', default: 'auto', info: '[H.264 Only] Limit the output to a specific H.264 profile. Don't change this unless your target device only supports a certain profile.', rounding: 'None', min_max: None, choices: ['auto', 'baseline', 'main', 'high', 'high10', 'high422', 'high444'], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.ffmpeg', title: 'level', datatype: '<class 'str'>', default: 'auto', info: '[H.264 Only] Set the encoder level, Don't change this unless your target device only supports a certain level.', rounding: 'None', min_max: None, choices: ['auto', '1', '1b', '1.1', '1.2', '1.3', '2', '2.1', '2.2', '3', '3.1', '3.2', '4', '4.1', '4.2', '5', '5.1', '5.2', '6', '6.1', '6.2'], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.ffmpeg', title: 'skip_mux', datatype: '<class 'bool'>', default: 'False', info: 'Skip muxing audio to the final video output. This will result in a video without an audio track.', rounding: 'None', min_max: None, choices: None, gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Added defaults: writer.ffmpeg
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Adding defaults: (filename: gif_defaults.py, module_path: plugins.convert.writer, plugin_type: writer
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Importing defaults module: plugins.convert.writer.gif_defaults
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_section                    DEBUG    Add section: (title: 'writer.gif', info: 'Options for outputting converted frames to an animated gif.')
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.gif', title: 'fps', datatype: '<class 'int'>', default: '25', info: 'Frames per Second.', rounding: '1', min_max: (1, 60), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.gif', title: 'loop', datatype: '<class 'int'>', default: '0', info: 'The number of iterations. Set to 0 to loop indefinitely.', rounding: '1', min_max: (0, 100), choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.gif', title: 'palettesize', datatype: '<class 'str'>', default: '256', info: 'The number of colors to quantize the image to. Is rounded to the nearest power of two.', rounding: 'None', min_max: None, choices: ['2', '4', '8', '16', '32', '64', '128', '256'], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.gif', title: 'subrectangles', datatype: '<class 'bool'>', default: 'False', info: 'If True, will try and optimize the GIF by storing only the rectangular parts of each frame that change with respect to the previous.', rounding: 'None', min_max: None, choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Added defaults: writer.gif
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Adding defaults: (filename: opencv_defaults.py, module_path: plugins.convert.writer, plugin_type: writer
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Importing defaults module: plugins.convert.writer.opencv_defaults
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_section                    DEBUG    Add section: (title: 'writer.opencv', info: 'Options for outputting converted frames to a series of images using OpenCV\nOpenCV can be faster than other image writers, but lacks some configuration options and formats.')
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.opencv', title: 'format', datatype: '<class 'str'>', default: 'png', info: 'Image format to use:\n	 bmp: Windows bitmap\n	 jpg: JPEG format\n	 jp2: JPEG 2000 format\n	 png: Portable Network Graphics\n	 ppm: Portable Pixmap Format', rounding: 'None', min_max: None, choices: ['bmp', 'jpg', 'jp2', 'png', 'ppm'], gui_radio: True, fixed: True, group: format)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.opencv', title: 'draw_transparent', datatype: '<class 'bool'>', default: 'False', info: 'Place the swapped face on a transparent layer rather than the original frame.\nNB: This is only compatible with images saved in png format. If an incompatible format is selected then the image will be saved as a png.', rounding: 'None', min_max: None, choices: [], gui_radio: False, fixed: True, group: format)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.opencv', title: 'separate_mask', datatype: '<class 'bool'>', default: 'False', info: 'Seperate the mask into its own single channel image. This only applies when 'draw-transparent' is selected. If enabled, the RGB image will be saved into the selected output folder whilst the masks will be saved into a sub-folder named `masks`. If not enabled then the mask will be included in the alpha-channel of the RGBA output.', rounding: 'None', min_max: None, choices: [], gui_radio: False, fixed: True, group: format)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.opencv', title: 'jpg_quality', datatype: '<class 'int'>', default: '75', info: '[jpg only] Set the jpg quality. 1 is worst 95 is best. Higher quality leads to larger file sizes.', rounding: '1', min_max: (1, 95), choices: [], gui_radio: False, fixed: True, group: compression)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.opencv', title: 'png_compress_level', datatype: '<class 'int'>', default: '3', info: '[png only] ZLIB compression level, 1 gives best speed, 9 gives best compression, 0 gives no compression at all.', rounding: '1', min_max: (0, 9), choices: [], gui_radio: False, fixed: True, group: compression)
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Added defaults: writer.opencv
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Adding defaults: (filename: pillow_defaults.py, module_path: plugins.convert.writer, plugin_type: writer
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Importing defaults module: plugins.convert.writer.pillow_defaults
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_section                    DEBUG    Add section: (title: 'writer.pillow', info: 'Options for outputting converted frames to a series of images using Pillow\nPillow is more feature rich than OpenCV but can be slower.')
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.pillow', title: 'format', datatype: '<class 'str'>', default: 'png', info: 'Image format to use:\n	 bmp: Windows bitmap\n	 gif: Graphics Interchange Format (NB: Not animated)\n	 jpg: JPEG format\n	 jp2: JPEG 2000 format\n	 png: Portable Network Graphics\n	 ppm: Portable Pixmap Format\n	 tif: Tag Image File Format', rounding: 'None', min_max: None, choices: ['bmp', 'gif', 'jpg', 'jp2', 'png', 'ppm', 'tif'], gui_radio: True, fixed: True, group: format)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.pillow', title: 'draw_transparent', datatype: '<class 'bool'>', default: 'False', info: 'Place the swapped face on a transparent layer rather than the original frame.\nNB: This is only compatible with images saved in png or tif format. If an incompatible format is selected then the image will be saved as a png.', rounding: 'None', min_max: None, choices: [], gui_radio: False, fixed: True, group: format)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.pillow', title: 'separate_mask', datatype: '<class 'bool'>', default: 'False', info: 'Seperate the mask into its own single channel image. This only applies when 'draw-transparent' is selected. If enabled, the RGB image will be saved into the selected output folder whilst the masks will be saved into a sub-folder named `masks`. If not enabled then the mask will be included in the alpha-channel of the RGBA output.', rounding: 'None', min_max: None, choices: [], gui_radio: False, fixed: True, group: format)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.pillow', title: 'optimize', datatype: '<class 'bool'>', default: 'False', info: '[gif, jpg and png only] If enabled, indicates that the encoder should make an extra pass over the image in order to select optimal encoder settings.', rounding: 'None', min_max: None, choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.pillow', title: 'gif_interlace', datatype: '<class 'bool'>', default: 'True', info: '[gif only] Set whether to save the gif as interlaced or not.', rounding: 'None', min_max: None, choices: [], gui_radio: False, fixed: True, group: settings)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.pillow', title: 'jpg_quality', datatype: '<class 'int'>', default: '75', info: '[jpg only] Set the jpg quality. 1 is worst 95 is best. Higher quality leads to larger file sizes.', rounding: '1', min_max: (1, 95), choices: [], gui_radio: False, fixed: True, group: compression)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.pillow', title: 'png_compress_level', datatype: '<class 'int'>', default: '3', info: '[png only] ZLIB compression level, 1 gives best speed, 9 gives best compression, 0 gives no compression at all. When optimize option is set to True this has no effect (it is set to 9 regardless of a value passed).', rounding: '1', min_max: (0, 9), choices: [], gui_radio: False, fixed: True, group: compression)
12/01/2024 22:13:32 MainProcess     MainThread                     config          add_item                       DEBUG    Add item: (section: 'writer.pillow', title: 'tif_compression', datatype: '<class 'str'>', default: 'tiff_deflate', info: '[tif only] The desired compression method for the file.', rounding: 'None', min_max: None, choices: ['none', 'tiff_ccitt', 'group3', 'group4', 'tiff_jpeg', 'tiff_adobe_deflate', 'tiff_thunderscan', 'tiff_deflate', 'tiff_sgilog', 'tiff_sgilog24', 'tiff_raw_16'], gui_radio: False, fixed: True, group: compression)
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_defaults_from_module     DEBUG    Added defaults: writer.pillow
12/01/2024 22:13:32 MainProcess     MainThread                     config          _handle_config                 DEBUG    Handling config: (section: writer.ffmpeg, configfile: 'C:\Users\sm\faceswap\config\convert.ini')
12/01/2024 22:13:32 MainProcess     MainThread                     config          _check_exists                  DEBUG    Config file exists: 'C:\Users\sm\faceswap\config\convert.ini'
12/01/2024 22:13:32 MainProcess     MainThread                     config          _load_config                   VERBOSE  Loading config: 'C:\Users\sm\faceswap\config\convert.ini'
12/01/2024 22:13:32 MainProcess     MainThread                     config          _validate_config               DEBUG    Validating config
12/01/2024 22:13:32 MainProcess     MainThread                     config          _check_config_change           DEBUG    Default config has not changed
12/01/2024 22:13:32 MainProcess     MainThread                     config          _check_config_choices          DEBUG    Checking config choices
12/01/2024 22:13:32 MainProcess     MainThread                     config          _check_config_choices          DEBUG    Checked config choices
12/01/2024 22:13:32 MainProcess     MainThread                     config          _validate_config               DEBUG    Validated config
12/01/2024 22:13:32 MainProcess     MainThread                     config          _handle_config                 DEBUG    Handled config
12/01/2024 22:13:32 MainProcess     MainThread                     config          __init__                       DEBUG    Initialized: Config
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Getting config item: (section: 'writer.ffmpeg', option: 'container')
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Returning item: (type: <class 'str'>, value: mp4)
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Getting config item: (section: 'writer.ffmpeg', option: 'codec')
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Returning item: (type: <class 'str'>, value: libx264)
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Getting config item: (section: 'writer.ffmpeg', option: 'crf')
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Returning item: (type: <class 'int'>, value: 23)
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Getting config item: (section: 'writer.ffmpeg', option: 'preset')
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Returning item: (type: <class 'str'>, value: medium)
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Getting config item: (section: 'writer.ffmpeg', option: 'tune')
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Returning item: (type: <class 'str'>, value: None)
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Getting config item: (section: 'writer.ffmpeg', option: 'profile')
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Returning item: (type: <class 'str'>, value: auto)
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Getting config item: (section: 'writer.ffmpeg', option: 'level')
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Returning item: (type: <class 'str'>, value: auto)
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Getting config item: (section: 'writer.ffmpeg', option: 'skip_mux')
12/01/2024 22:13:32 MainProcess     MainThread                     config          get                            DEBUG    Returning item: (type: <class 'bool'>, value: False)
12/01/2024 22:13:32 MainProcess     MainThread                     _base           __init__                       DEBUG    config: {'container': 'mp4', 'codec': 'libx264', 'crf': 23, 'preset': 'medium', 'tune': None, 'profile': 'auto', 'level': 'auto', 'skip_mux': False}
12/01/2024 22:13:32 MainProcess     MainThread                     _base           __init__                       DEBUG    Initialized Writer
12/01/2024 22:13:32 MainProcess     MainThread                     ffmpeg          __init__                       DEBUG    total_count: 27, frame_ranges: None, source_video: 'None'
Traceback (most recent call last):
  File "C:\Users\sm\faceswap\lib\cli\launcher.py", line 237, in execute_script
    process = script(arguments)
  File "C:\Users\sm\faceswap\scripts\convert.py", line 102, in __init__
    self._disk_io = DiskIO(self._alignments, self._images, arguments)
  File "C:\Users\sm\faceswap\scripts\convert.py", line 305, in __init__
    self._writer = self._get_writer()
  File "C:\Users\sm\faceswap\scripts\convert.py", line 384, in _get_writer
    return PluginLoader.get_converter("writer", self._args.writer)(*args,
  File "C:\Users\sm\faceswap\plugins\convert\writer\ffmpeg.py", line 42, in __init__
    self._output_filename: str = self._get_output_filename()
  File "C:\Users\sm\faceswap\plugins\convert\writer\ffmpeg.py", line 159, in _get_output_filename
    filename = os.path.basename(self._source_video)
  File "C:\Users\sm\MiniConda3\envs\faceswap\lib\ntpath.py", line 216, in basename
    return split(p)[1]
  File "C:\Users\sm\MiniConda3\envs\faceswap\lib\ntpath.py", line 185, in split
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

============ System Information ============
backend:             cpu
encoding:            cp1252
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_devices_active:  
gpu_driver:          
gpu_vram:            
os_machine:          AMD64
os_platform:         Windows-10-10.0.19045-SP0
os_release:          10
py_command:          C:\Users\sm\faceswap\faceswap.py convert -i C:/Users/sm/Downloads/ext/A -o C:/Users/sm/Downloads/ext/Out -m C:/Users/sm/Downloads/ext/M -c match-hist -M extended -w ffmpeg -osc 100 -l 0.4 -j 0 -L INFO -gui
py_conda_version:    conda 24.11.0
py_implementation:   CPython
py_version:          3.9.20
py_virtual_env:      True
sys_cores:           8
sys_processor:       Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
sys_ram:             Total: 32625MB, Available: 25982MB, Used: 6643MB, Free: 25982MB

=============== Pip Packages ===============
absl-py @ file:///C:/b/abs_14wchyjaia/croot/absl-py_1714140489450/work
astunparse==1.6.3
cachetools==5.5.0
certifi==2024.8.30
charset-normalizer==3.4.0
cloudpickle @ file:///C:/b/abs_8abv3sva4p/croot/cloudpickle_1721657372632/work
colorama @ file:///C:/b/abs_a9ozq0l032/croot/colorama_1672387194846/work
cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work
decorator @ file:///opt/conda/conda-bld/decorator_1643638310831/work
dm-tree @ file:///C:/b/abs_10z0iy5knj/croot/dm-tree_1671027465819/work
fastcluster @ file:///D:/bld/fastcluster_1725465031139/work
ffmpy @ file:///home/conda/feedstock_root/build_artifacts/ffmpy_1659474992694/work
flatbuffers==24.3.25
fonttools @ file:///C:/b/abs_f47gnfqnx0/croot/fonttools_1713551644747/work
gast==0.4.0
google-auth==2.36.0
google-auth-oauthlib==0.4.6
google-pasta==0.2.0
grpcio==1.68.0
h5py==3.12.1
idna==3.10
imageio @ file:///C:/b/abs_27kq2gy1us/croot/imageio_1677879918708/work
imageio-ffmpeg @ file:///home/conda/feedstock_root/build_artifacts/imageio-ffmpeg_1673483481485/work
importlib_metadata==8.5.0
joblib @ file:///home/conda/feedstock_root/build_artifacts/joblib_1714665484399/work
keras==2.10.0
Keras-Preprocessing==1.1.2
kiwisolver @ file:///C:/b/abs_88mdhvtahm/croot/kiwisolver_1672387921783/work
libclang==18.1.1
Markdown==3.7
MarkupSafe==3.0.2
matplotlib @ file:///C:/b/abs_ae02atcfur/croot/matplotlib-suite_1667356722968/work
mkl-service==2.4.0
mkl_fft @ file:///C:/Users/dev-admin/mkl/mkl_fft_1730823082242/work
mkl_random @ file:///C:/Users/dev-admin/mkl/mkl_random_1730822522280/work
numexpr @ file:///C:/b/abs_afm0oewmmt/croot/numexpr_1683221839116/work
numpy @ file:///C:/Users/dev-admin/mkl/numpy_and_numpy_base_1682981337988/work
nvidia-ml-py @ file:///C:/b/abs_06lae9r694/croot/nvidia-ml-py_1701875199104/work
oauthlib==3.2.2
opencv-python==4.7.0.72
opt_einsum==3.4.0
packaging @ file:///C:/b/abs_c3vlh0z4jw/croot/packaging_1720101866539/work
Pillow @ file:///C:/b/abs_153xikw91n/croot/pillow_1695134603563/work
ply==3.11
protobuf==3.19.6
psutil @ file:///C:/Windows/Temp/abs_b2c2fd7f-9fd5-4756-95ea-8aed74d0039flsd9qufz/croots/recipe/psutil_1656431277748/work
pyasn1==0.6.1
pyasn1_modules==0.4.1
pyparsing @ file:///C:/b/abs_40z8gyj9wi/croot/pyparsing_1731445739241/work
PyQt5==5.15.10
PyQt5-sip @ file:///C:/b/abs_c0pi2mimq3/croot/pyqt-split_1698769125270/work/pyqt_sip
python-dateutil @ file:///C:/b/abs_3au_koqnbs/croot/python-dateutil_1716495777160/work
pywin32==305.1
pywinpty @ file:///C:/ci_310/pywinpty_1644230983541/work/target/wheels/pywinpty-2.0.2-cp39-none-win_amd64.whl
requests==2.32.3
requests-oauthlib==2.0.0
rsa==4.9
scikit-learn @ file:///D:/bld/scikit-learn_1685023897461/work
scipy @ file:///C:/bld/scipy-split_1716470385682/work/dist/scipy-1.13.1-cp39-cp39-win_amd64.whl#sha256=490e922ef930c40e74290d95915a98295b9059d02849059317bab82ba7810581
sip @ file:///C:/b/abs_edevan3fce/croot/sip_1698675983372/work
six @ file:///tmp/build/80754af9/six_1644875935023/work
tensorboard==2.10.1
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
tensorflow-cpu==2.10.1
tensorflow-estimator==2.10.0
tensorflow-intel==2.10.1
tensorflow-io-gcs-filesystem==0.31.0
tensorflow-probability @ file:///croot/tensorflow-probability_1722327125616/work
termcolor==2.5.0
threadpoolctl @ file:///home/conda/feedstock_root/build_artifacts/threadpoolctl_1714400101435/work
tomli @ file:///C:/Windows/TEMP/abs_ac109f85-a7b3-4b4d-bcfd-52622eceddf0hy332ojo/croots/recipe/tomli_1657175513137/work
tornado @ file:///C:/b/abs_7bua0304mj/croot/tornado_1718740122405/work
tqdm @ file:///C:/b/abs_f76j9hg7pv/croot/tqdm_1679561871187/work
typing_extensions @ file:///C:/b/abs_5em9ekwz24/croot/typing_extensions_1686602003259/work
unicodedata2 @ file:///C:/b/abs_b6apldlg7y/croot/unicodedata2_1713212998255/work
urllib3==2.2.3
Werkzeug==3.1.3
wrapt==1.17.0
zipp==3.21.0

============== Conda Packages ==============
# packages in environment at C:\Users\sm\MiniConda3\envs\faceswap:
#
# Name                    Version                   Build  Channel
absl-py                   2.1.0            py39haa95532_0  
astunparse                1.6.3                    pypi_0    pypi
blas                      1.0                         mkl  
brotli                    1.0.9                h2bbff1b_8  
brotli-bin                1.0.9                h2bbff1b_8  
ca-certificates           2024.11.26           haa95532_0  
cachetools                5.5.0                    pypi_0    pypi
certifi                   2024.8.30                pypi_0    pypi
charset-normalizer        3.4.0                    pypi_0    pypi
cloudpickle               3.0.0            py39haa95532_0  
colorama                  0.4.6            py39haa95532_0  
cycler                    0.11.0             pyhd3eb1b0_0  
decorator                 5.1.1              pyhd3eb1b0_0  
dm-tree                   0.1.7            py39hd77b12b_1  
fastcluster               1.2.6            py39h0a2e257_4    conda-forge
ffmpeg                    4.3.1                ha925a31_0    conda-forge
ffmpy                     0.3.0              pyhb6f538c_0    conda-forge
flatbuffers               24.3.25                  pypi_0    pypi
fonttools                 4.51.0           py39h2bbff1b_0  
freetype                  2.12.1               ha860e81_0  
gast                      0.4.0                    pypi_0    pypi
giflib                    5.2.2                h7edc060_0  
git                       2.45.2               haa95532_1  
google-auth               2.36.0                   pypi_0    pypi
google-auth-oauthlib      0.4.6                    pypi_0    pypi
google-pasta              0.2.0                    pypi_0    pypi
grpcio                    1.68.0                   pypi_0    pypi
h5py                      3.12.1                   pypi_0    pypi
icu                       73.1                 h6c2663c_0  
idna                      3.10                     pypi_0    pypi
imageio                   2.26.0           py39haa95532_0  
imageio-ffmpeg            0.4.8              pyhd8ed1ab_0    conda-forge
importlib-metadata        8.5.0                    pypi_0    pypi
intel-openmp              2023.1.0         h59b6b97_46320  
joblib                    1.4.2              pyhd8ed1ab_0    conda-forge
jpeg                      9e                   h827c3e9_3  
keras                     2.10.0                   pypi_0    pypi
keras-preprocessing       1.1.2                    pypi_0    pypi
kiwisolver                1.4.4            py39hd77b12b_0  
krb5                      1.20.1               h5b6d351_0  
lerc                      3.0                  hd77b12b_0  
libblas                   3.9.0           1_h8933c1f_netlib    conda-forge
libbrotlicommon           1.0.9                h2bbff1b_8  
libbrotlidec              1.0.9                h2bbff1b_8  
libbrotlienc              1.0.9                h2bbff1b_8  
libcblas                  3.9.0           8_h719fc58_netlib    conda-forge
libclang                  18.1.1                   pypi_0    pypi
libclang13                14.0.6          default_h8e68704_1  
libdeflate                1.17                 h2bbff1b_1  
liblapack                 3.9.0           8_h719fc58_netlib    conda-forge
libpng                    1.6.39               h8cc25b3_0  
libpq                     17.0                 h70ee33d_0  
libtiff                   4.5.1                hd77b12b_0  
libwebp                   1.3.2                hbc33d0d_0  
libwebp-base              1.3.2                h3d04722_1  
lz4-c                     1.9.4                h2bbff1b_1  
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge
m2w64-gmp                 6.1.0                         2    conda-forge
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    conda-forge
markdown                  3.7                      pypi_0    pypi
markupsafe                3.0.2                    pypi_0    pypi
matplotlib                3.5.3            py39haa95532_0  
matplotlib-base           3.5.3            py39hd77b12b_0  
mkl                       2023.1.0         h6b88ed4_46358  
mkl-service               2.4.0            py39h2bbff1b_1  
mkl_fft                   1.3.11           py39h827c3e9_0  
mkl_random                1.2.8            py39hc64d2fc_0  
msys2-conda-epoch         20160418                      1    conda-forge
numexpr                   2.8.4            py39h7b80656_1  
numpy                     1.23.5           py39h6917f2d_1  
numpy-base                1.23.5           py39h46c4fa8_1  
nvidia-ml-py              12.535.133       py39haa95532_0  
oauthlib                  3.2.2                    pypi_0    pypi
opencv-python             4.7.0.72                 pypi_0    pypi
openssl                   3.4.0                h2466b09_0    conda-forge
opt-einsum                3.4.0                    pypi_0    pypi
packaging                 24.1             py39haa95532_0  
pillow                    9.4.0            py39hd77b12b_1  
pip                       24.2             py39haa95532_0  
ply                       3.11             py39haa95532_0  
protobuf                  3.19.6                   pypi_0    pypi
psutil                    5.9.0            py39h2bbff1b_0  
pyasn1                    0.6.1                    pypi_0    pypi
pyasn1-modules            0.4.1                    pypi_0    pypi
pyparsing                 3.2.0            py39haa95532_0  
pyqt                      5.15.10          py39hd77b12b_0  
pyqt5-sip                 12.13.0          py39h2bbff1b_0  
python                    3.9.20               h8205438_1  
python-dateutil           2.9.0post0       py39haa95532_2  
python_abi                3.9                      2_cp39    conda-forge
pywin32                   305              py39h2bbff1b_0  
pywinpty                  2.0.2            py39h5da7b33_0  
qt-main                   5.15.2              h19c9488_11  
requests                  2.32.3                   pypi_0    pypi
requests-oauthlib         2.0.0                    pypi_0    pypi
rsa                       4.9                      pypi_0    pypi
scikit-learn              1.2.2            py39hfa9d973_2    conda-forge
scipy                     1.13.1           py39h1a10956_0    conda-forge
setuptools                75.1.0           py39haa95532_0  
sip                       6.7.12           py39hd77b12b_0  
six                       1.16.0             pyhd3eb1b0_1  
sqlite                    3.45.3               h2bbff1b_0  
tbb                       2021.8.0             h59b6b97_0  
tensorboard               2.10.1                   pypi_0    pypi
tensorboard-data-server   0.6.1                    pypi_0    pypi
tensorboard-plugin-wit    1.8.1                    pypi_0    pypi
tensorflow-cpu            2.10.1                   pypi_0    pypi
tensorflow-estimator      2.10.0                   pypi_0    pypi
tensorflow-intel          2.10.1                   pypi_0    pypi
tensorflow-io-gcs-filesystem 0.31.0                   pypi_0    pypi
tensorflow-probability    0.14.0             pyhd3eb1b0_1  
termcolor                 2.5.0                    pypi_0    pypi
threadpoolctl             3.5.0              pyhc1e730c_0    conda-forge
tk                        8.6.14               h0416ee5_0  
tomli                     2.0.1            py39haa95532_0  
tornado                   6.4.1            py39h827c3e9_0  
tqdm                      4.65.0           py39hd4e2768_0  
typing-extensions         4.6.3            py39haa95532_0  
typing_extensions         4.6.3            py39haa95532_0  
tzdata                    2024b                h04d1e81_0  
ucrt                      10.0.22621.0         h57928b3_1    conda-forge
unicodedata2              15.1.0           py39h2bbff1b_0  
urllib3                   2.2.3                    pypi_0    pypi
vc                        14.40                h2eaa2aa_1  
vc14_runtime              14.42.34433         he29a5d6_23    conda-forge
vs2015_runtime            14.42.34433         hdffcdeb_23    conda-forge
werkzeug                  3.1.3                    pypi_0    pypi
wheel                     0.44.0           py39haa95532_0  
winpty                    0.4.3                         4  
wrapt                     1.17.0                   pypi_0    pypi
xz                        5.4.6                h8cc25b3_1  
zipp                      3.21.0                   pypi_0    pypi
zlib                      1.2.13               h8cc25b3_1  
zstd                      1.5.6                h8880b57_0  

================= Configs ==================
--------- .faceswap ---------
backend:                  cpu

--------- 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.mask_blend]
type:                     normalized
kernel_size:              3
passes:                   4
threshold:                4
erosion:                  0.0
erosion_top:              0.0
erosion_bottom:           0.0
erosion_left:             0.0
erosion_right:            0.0

[scaling.sharpen]
method:                   none
amount:                   150
radius:                   0.3
threshold:                5.0

[writer.ffmpeg]
container:                mp4
codec:                    libx264
crf:                      23
preset:                   medium
tune:                     none
profile:                  auto
level:                    auto
skip_mux:                 False

[writer.gif]
fps:                      25
loop:                     0
palettesize:              256
subrectangles:            False

[writer.opencv]
format:                   png
draw_transparent:         False
separate_mask:            False
jpg_quality:              75
png_compress_level:       3

[writer.pillow]
format:                   png
draw_transparent:         False
separate_mask:            False
optimize:                 False
gif_interlace:            True
jpg_quality:              75
png_compress_level:       3
tif_compression:          tiff_deflate

--------- extract.ini ---------

[global]
allow_growth:             False
aligner_min_scale:        0.07
aligner_max_scale:        2.0
aligner_distance:         22.5
aligner_roll:             45.0
aligner_features:         True
filter_refeed:            True
save_filtered:            False
realign_refeeds:          True
filter_realign:           True

[align.fan]
batch-size:               12

[detect.cv2_dnn]
confidence:               50

[detect.mtcnn]
minsize:                  20
scalefactor:              0.709
batch-size:               8
cpu:                      True
threshold_1:              0.6
threshold_2:              0.7
threshold_3:              0.7

[detect.s3fd]
confidence:               70
batch-size:               4

[mask.bisenet_fp]
batch-size:               8
cpu:                      False
weights:                  faceswap
include_ears:             False
include_hair:             False
include_glasses:          True

[mask.custom]
batch-size:               8
centering:                face
fill:                     False

[mask.unet_dfl]
batch-size:               8

[mask.vgg_clear]
batch-size:               6

[mask.vgg_obstructed]
batch-size:               2

[recognition.vgg_face2]
batch-size:               16
cpu:                      False

--------- 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]
centering:                face
coverage:                 87.5
icnr_init:                False
conv_aware_init:          False
optimizer:                adam
learning_rate:            5e-05
epsilon_exponent:         -7
autoclip:                 False
reflect_padding:          False
allow_growth:             False
mixed_precision:          False
nan_protection:           True
convert_batchsize:        16

[global.loss]
loss_function:            ssim
loss_function_2:          mse
loss_weight_2:            100
loss_function_3:          none
loss_weight_3:            0
loss_function_4:          none
loss_weight_4:            0
mask_loss_function:       mse
eye_multiplier:           3
mouth_multiplier:         2
penalized_mask_loss:      True
mask_type:                extended
mask_blur_kernel:         3
mask_threshold:           4
learn_mask:               False

[model.dfaker]
output_size:              128

[model.dfl_h128]
lowmem:                   False

[model.dfl_sae]
input_size:               128
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.phaze_a]
output_size:              128
shared_fc:                none
enable_gblock:            True
split_fc:                 True
split_gblock:             False
split_decoders:           False
enc_architecture:         fs_original
enc_scaling:              7
enc_load_weights:         True
bottleneck_type:          dense
bottleneck_norm:          none
bottleneck_size:          1024
bottleneck_in_encoder:    True
fc_depth:                 1
fc_min_filters:           1024
fc_max_filters:           1024
fc_dimensions:            4
fc_filter_slope:          -0.5
fc_dropout:               0.0
fc_upsampler:             upsample2d
fc_upsamples:             1
fc_upsample_filters:      512
fc_gblock_depth:          3
fc_gblock_min_nodes:      512
fc_gblock_max_nodes:      512
fc_gblock_filter_slope:   -0.5
fc_gblock_dropout:        0.0
dec_upscale_method:       subpixel
dec_upscales_in_fc:       0
dec_norm:                 none
dec_min_filters:          64
dec_max_filters:          512
dec_slope_mode:           full
dec_filter_slope:         -0.45
dec_res_blocks:           1
dec_output_kernel:        5
dec_gaussian:             True
dec_skip_last_residual:   True
freeze_layers:            keras_encoder
load_layers:              encoder
fs_original_depth:        4
fs_original_min_filters:  128
fs_original_max_filters:  1024
fs_original_use_alt:      False
mobilenet_width:          1.0
mobilenet_depth:          1
mobilenet_dropout:        0.001
mobilenet_minimalistic:   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
nodes:                    1024
complexity_encoder:       128
complexity_decoder_a:     384
complexity_decoder_b:     512

[model.villain]
lowmem:                   False

[trainer.original]
preview_images:           14
mask_opacity:             30
mask_color:               #ff0000
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
Last edited by torzdf on Tue May 20, 2025 5:44 pm, edited 1 time in total.
User avatar
torzdf
Posts: 2796
Joined: Fri Jul 12, 2019 12:53 am
Answers: 160
Has thanked: 142 times
Been thanked: 650 times

Re: CRITICAL An unexpected crash has occurred

Post by torzdf »

Looks like your input is pointing at a faces folder?

My word is final

Post Reply