I know there's another thread that's similar although not exactly the same error and it seems that was a corrupt training. That said on this one I can start/stop training without issue and a second model that I only let train briefly, I'm getting the same issue. If anyone could help this newbie, I'd really appreciate it. Logs below with specific error:
File "h5py/h5f.pyx", line 106, in h5py.h5f.open
OSError: Unable to open file (truncated file: eof = 96, sblock->base_addr = 0, stored_eof = 2048)
Please note that the " " after the "." and before the "py" was added by me to get through the board filter that things they are prohibited web links.
Thanks again
Code: Select all
02/13/2023 13:58:08 MainProcess MainThread config add_section DEBUG Add section: (title: 'model.original', info: 'Original Faceswap Model.')
02/13/2023 13:58:08 MainProcess MainThread config add_item DEBUG Add item: (section: 'model.original', title: 'lowmem', datatype: '<class 'bool'>', default: 'False', info: 'Lower memory mode. Set to 'True' if having issues with VRAM useage.\nNB: Models with a changed lowmem mode are not compatible with each other.', rounding: 'None', min_max: None, choices: [], gui_radio: False, fixed: True, group: settings)
02/13/2023 13:58:08 MainProcess MainThread config _load_defaults_from_module DEBUG Added defaults: model.original
02/13/2023 13:58:08 MainProcess MainThread config _load_defaults_from_module DEBUG Adding defaults: (filename: dfl_h128_defaults. py, module_path: plugins.train.model, plugin_type: model
02/13/2023 13:58:08 MainProcess MainThread config _load_defaults_from_module DEBUG Importing defaults module: plugins.train.model.dfl_h128_defaults
02/13/2023 13:58:08 MainProcess MainThread config add_section DEBUG Add section: (title: 'model.dfl_h128', info: 'DFL H128 Model')
02/13/2023 13:58:08 MainProcess MainThread config add_item DEBUG Add item: (section: 'model.dfl_h128', title: 'lowmem', datatype: '<class 'bool'>', default: 'False', info: 'Lower memory mode. Set to 'True' if having issues with VRAM useage.\nNB: Models with a changed lowmem mode are not compatible with each other.', rounding: 'None', min_max: None, choices: [], gui_radio: False, fixed: True, group: settings)
02/13/2023 13:58:08 MainProcess MainThread config _load_defaults_from_module DEBUG Added defaults: model.dfl_h128
02/13/2023 13:58:08 MainProcess MainThread config _load_defaults_from_module DEBUG Adding defaults: (filename: original_defaults. py, module_path: plugins.train.trainer, plugin_type: trainer
02/13/2023 13:58:08 MainProcess MainThread config _load_defaults_from_module DEBUG Importing defaults module: plugins.train.trainer.original_defaults
02/13/2023 13:58:08 MainProcess MainThread config add_section DEBUG Add section: (title: 'trainer.original', info: 'Original Trainer Options.\nWARNING: The defaults for augmentation will be fine for 99.9% of use cases. Only change them if you absolutely know what you are doing!')
02/13/2023 13:58:08 MainProcess MainThread config add_item DEBUG Add item: (section: 'trainer.original', title: 'preview_images', datatype: '<class 'int'>', default: '14', info: 'Number of sample faces to display for each side in the preview when training.', rounding: '2', min_max: (2, 16), choices: None, gui_radio: False, fixed: True, group: evaluation)
02/13/2023 13:58:08 MainProcess MainThread config add_item DEBUG Add item: (section: 'trainer.original', title: 'zoom_amount', datatype: '<class 'int'>', default: '5', info: 'Percentage amount to randomly zoom each training image in and out.', rounding: '1', min_max: (0, 25), choices: None, gui_radio: False, fixed: True, group: image augmentation)
02/13/2023 13:58:08 MainProcess MainThread config add_item DEBUG Add item: (section: 'trainer.original', title: 'rotation_range', datatype: '<class 'int'>', default: '10', info: 'Percentage amount to randomly rotate each training image.', rounding: '1', min_max: (0, 25), choices: None, gui_radio: False, fixed: True, group: image augmentation)
02/13/2023 13:58:08 MainProcess MainThread config add_item DEBUG Add item: (section: 'trainer.original', title: 'shift_range', datatype: '<class 'int'>', default: '5', info: 'Percentage amount to randomly shift each training image horizontally and vertically.', rounding: '1', min_max: (0, 25), choices: None, gui_radio: False, fixed: True, group: image augmentation)
02/13/2023 13:58:08 MainProcess MainThread config add_item DEBUG Add item: (section: 'trainer.original', title: 'flip_chance', datatype: '<class 'int'>', default: '50', info: 'Percentage chance to randomly flip each training image horizontally.\nNB: This is ignored if the 'no-flip' option is enabled', rounding: '1', min_max: (0, 75), choices: None, gui_radio: False, fixed: True, group: image augmentation)
02/13/2023 13:58:08 MainProcess MainThread config add_item DEBUG Add item: (section: 'trainer.original', title: 'color_lightness', datatype: '<class 'int'>', default: '30', info: 'Percentage amount to randomly alter the lightness of each training image.\nNB: This is ignored if the 'no-augment-color' option is enabled', rounding: '1', min_max: (0, 75), choices: None, gui_radio: False, fixed: True, group: color augmentation)
02/13/2023 13:58:08 MainProcess MainThread config add_item DEBUG Add item: (section: 'trainer.original', title: 'color_ab', datatype: '<class 'int'>', default: '8', info: 'Percentage amount to randomly alter the 'a' and 'b' colors of the L*a*b* color space of each training image.\nNB: This is ignored if the 'no-augment-color' optionis enabled', rounding: '1', min_max: (0, 50), choices: None, gui_radio: False, fixed: True, group: color augmentation)
02/13/2023 13:58:08 MainProcess MainThread config add_item DEBUG Add item: (section: 'trainer.original', title: 'color_clahe_chance', datatype: '<class 'int'>', default: '50', info: 'Percentage chance to perform Contrast Limited Adaptive Histogram Equalization on each training image.\nNB: This is ignored if the 'no-augment-color' option is enabled', rounding: '1', min_max: (0, 75), choices: None, gui_radio: False, fixed: False, group: color augmentation)
02/13/2023 13:58:08 MainProcess MainThread config add_item DEBUG Add item: (section: 'trainer.original', title: 'color_clahe_max_size', datatype: '<class 'int'>', default: '4', info: 'The grid size dictates how much Contrast Limited Adaptive Histogram Equalization is performed on any training image selected for clahe. Contrast will be applied randomly with a gridsize of 0 up to the maximum. This value is a multiplier calculated from the training image size.\nNB: This is ignored if the 'no-augment-color' option is enabled', rounding: '1', min_max: (1, 8), choices: None, gui_radio: False, fixed: True, group: color augmentation)
02/13/2023 13:58:08 MainProcess MainThread config _load_defaults_from_module DEBUG Added defaults: trainer.original
02/13/2023 13:58:08 MainProcess MainThread config handle_config DEBUG Handling config: (section: model.original, configfile: '/Users/Local-Louis/faceswap/config/train.ini')
02/13/2023 13:58:08 MainProcess MainThread config check_exists DEBUG Config file exists: '/Users/Local-Louis/faceswap/config/train.ini'
02/13/2023 13:58:08 MainProcess MainThread config load_config VERBOSE Loading config: '/Users/Local-Louis/faceswap/config/train.ini'
02/13/2023 13:58:08 MainProcess MainThread config validate_config DEBUG Validating config
02/13/2023 13:58:08 MainProcess MainThread config check_config_change DEBUG Default config has not changed
02/13/2023 13:58:08 MainProcess MainThread config check_config_choices DEBUG Checking config choices
02/13/2023 13:58:08 MainProcess MainThread config _parse_list DEBUG Processed raw option 'keras_encoder' to list ['keras_encoder'] for section 'model.phaze_a', option 'freeze_layers'
02/13/2023 13:58:08 MainProcess MainThread config _parse_list DEBUG Processed raw option 'encoder' to list ['encoder'] for section 'model.phaze_a', option 'load_layers'
02/13/2023 13:58:08 MainProcess MainThread config check_config_choices DEBUG Checked config choices
02/13/2023 13:58:08 MainProcess MainThread config validate_config DEBUG Validated config
02/13/2023 13:58:08 MainProcess MainThread config handle_config DEBUG Handled config
02/13/2023 13:58:08 MainProcess MainThread config __init__ DEBUG Initialized: Config
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global', option: 'learning_rate')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'float'>, value: 5e-05)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global', option: 'epsilon_exponent')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'int'>, value: -7)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global', option: 'autoclip')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'bool'>, value: False)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global', option: 'allow_growth')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'bool'>, value: False)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global', option: 'mixed_precision')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'bool'>, value: False)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global', option: 'nan_protection')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'bool'>, value: True)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global', option: 'convert_batchsize')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'int'>, value: 16)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global.loss', option: 'loss_function')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'str'>, value: ssim)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global.loss', option: 'loss_function_2')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'str'>, value: mse)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global.loss', option: 'loss_weight_2')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'int'>, value: 100)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global.loss', option: 'loss_function_3')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'str'>, value: None)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global.loss', option: 'loss_weight_3')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'int'>, value: 0)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global.loss', option: 'loss_function_4')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'str'>, value: None)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global.loss', option: 'loss_weight_4')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'int'>, value: 0)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global.loss', option: 'mask_loss_function')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'str'>, value: mse)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global.loss', option: 'eye_multiplier')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'int'>, value: 3)
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Getting config item: (section: 'global.loss', option: 'mouth_multiplier')
02/13/2023 13:58:08 MainProcess MainThread config get DEBUG Returning item: (type: <class 'int'>, value: 2)
02/13/2023 13:58:08 MainProcess MainThread config changeable_items DEBUG Alterable for existing models: {'learning_rate': 5e-05, 'epsilon_exponent': -7, 'autoclip': False, 'allow_growth': False, 'mixed_precision': False, 'nan_protection': True, 'convert_batchsize': 16, '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}
02/13/2023 13:58:08 MainProcess MainThread model __init__ DEBUG Initializing State: (model_dir: '/Users/Local-Louis/Downloads', model_name: 'original', config_changeable_items: '{'learning_rate': 5e-05, 'epsilon_exponent': -7, 'autoclip': False, 'allow_growth': False, 'mixed_precision': False, 'nan_protection': True, 'convert_batchsize': 16, '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}', no_logs: False
02/13/2023 13:58:08 MainProcess MainThread serializer get_serializer DEBUG <lib.serializer._JSONSerializer object at 0x15d4ac760>
02/13/2023 13:58:08 MainProcess MainThread model _load DEBUG Loading State
02/13/2023 13:58:08 MainProcess MainThread serializer load DEBUG filename: /Users/Local-Louis/Downloads/original_state.json
02/13/2023 13:58:08 MainProcess MainThread serializer load DEBUG stored data type: <class 'bytes'>
02/13/2023 13:58:08 MainProcess MainThread serializer unmarshal DEBUG data type: <class 'bytes'>
02/13/2023 13:58:08 MainProcess MainThread serializer unmarshal DEBUG returned data type: <class 'dict'>
02/13/2023 13:58:08 MainProcess MainThread serializer load DEBUG data type: <class 'dict'>
02/13/2023 13:58:08 MainProcess MainThread model _load DEBUG Loaded state: {'name': 'original', 'sessions': {'1': {'timestamp': 1676223488.479815, 'no_logs': False, 'loss_names': ['total', 'face_a', 'face_b'], 'batchsize': 16, 'iterations': 66500, 'config': {'learning_rate': 5e-05, 'epsilon_exponent': -7, 'autoclip': False, 'allow_growth': False, 'mixed_precision': False, 'nan_protection': True, 'convert_batchsize': 16, '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}}}, 'lowest_avg_loss': {'a': 0.03382405091077089, 'b': 0.03815221750736236}, 'iterations': 66500, 'mixed_precision_layers': ['conv_128_0_conv2d', 'conv_128_0_leakyrelu', 'conv_256_0_conv2d', 'conv_256_0_leakyrelu', 'conv_512_0_conv2d', 'conv_512_0_leakyrelu', 'conv_1024_0_conv2d', 'conv_1024_0_leakyrelu', 'flatten', 'dense', 'dense_1', 'reshape', 'upscale_512_0_conv2d_conv2d', 'upscale_512_0_conv2d_leakyrelu', 'upscale_512_0_pixelshuffler', 'upscale_256_0_conv2d_conv2d', 'upscale_256_0_conv2d_leakyrelu', 'upscale_256_0_pixelshuffler', 'upscale_128_0_conv2d_conv2d', 'upscale_128_0_conv2d_leakyrelu', 'upscale_128_0_pixelshuffler', 'upscale_64_0_conv2d_conv2d', 'upscale_64_0_conv2d_leakyrelu', 'upscale_64_0_pixelshuffler', 'face_out_a_conv2d', 'upscale_256_1_conv2d_conv2d', 'upscale_256_1_conv2d_leakyrelu', 'upscale_256_1_pixelshuffler', 'upscale_128_1_conv2d_conv2d', 'upscale_128_1_conv2d_leakyrelu', 'upscale_128_1_pixelshuffler', 'upscale_64_1_conv2d_conv2d', 'upscale_64_1_conv2d_leakyrelu', 'upscale_64_1_pixelshuffler', 'face_out_b_conv2d'], 'config': {'centering': 'face', 'coverage': 87.5, 'optimizer': 'adam', 'learning_rate': 5e-05, 'epsilon_exponent': -7, 'autoclip': False, 'allow_growth': False, 'mixed_precision': False, 'nan_protection': True, 'convert_batchsize': 16, '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, 'lowmem': False}}
02/13/2023 13:58:08 MainProcess MainThread model _update_legacy_config DEBUG Checking for legacy state file update
02/13/2023 13:58:08 MainProcess MainThread model _update_legacy_config DEBUG Legacy item 'dssim_loss' not in config. Skipping update
02/13/2023 13:58:08 MainProcess MainThread model _update_legacy_config DEBUG Legacy item 'l2_reg_term' not in config. Skipping update
02/13/2023 13:58:08 MainProcess MainThread model _update_legacy_config DEBUG Legacy item 'clipnorm' not in config. Skipping update
02/13/2023 13:58:08 MainProcess MainThread model _update_legacy_config DEBUG State file updated for legacy config: False
02/13/2023 13:58:08 MainProcess MainThread model _replace_config DEBUG Replacing config. Old config: {'centering': 'face', 'coverage': 87.5, 'optimizer': 'adam', 'learning_rate': 5e-05, 'epsilon_exponent': -7, 'autoclip': False, 'allow_growth': False, 'mixed_precision': False, 'nan_protection': True, 'convert_batchsize': 16, '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, 'lowmem': False}
02/13/2023 13:58:08 MainProcess MainThread model _replace_config DEBUG Replaced config. New config: {'centering': 'face', 'coverage': 87.5, 'optimizer': 'adam', 'learning_rate': 5e-05, 'epsilon_exponent': -7, 'autoclip': False, 'allow_growth': False, 'mixed_precision': False, 'nan_protection': True, 'convert_batchsize': 16, '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, 'lowmem': False}
02/13/2023 13:58:08 MainProcess MainThread model _replace_config INFO Using configuration saved in state file
02/13/2023 13:58:08 MainProcess MainThread model _new_session_id DEBUG 2
02/13/2023 13:58:08 MainProcess MainThread model _create_new_session DEBUG Creating new session. id: 2
02/13/2023 13:58:08 MainProcess MainThread model __init__ DEBUG Initialized State:
02/13/2023 13:58:08 MainProcess MainThread settings __init__ DEBUG Initializing Settings: (arguments: Namespace(func=<bound method ScriptExecutor.execute_script of <lib.cli.launcher.ScriptExecutor object at 0x14ee70fd0>>, exclude_gpus=None, configfile=None, loglevel='INFO', logfile=None, redirect_gui=True, colab=False, input_dir='/Users/Local-Louis/Desktop/Movie.mov', output_dir='/Users/Local-Louis/Downloads', alignments_path='/Users/Local-Louis/Desktop/Movie_alignments.fsa', reference_video=None, model_dir='/Users/Local-Louis/Downloads', color_adjustment='avg-color', mask_type='extended', writer='opencv', output_scale=100, frame_ranges=None, input_aligned_dir=None, nfilter=None, filter=None, ref_threshold=0.4, jobs=0, trainer=None, on_the_fly=False, keep_unchanged=False, swap_model=False, singleprocess=False), mixed_precision: False, allow_growth: False, is_predict: True)
02/13/2023 13:58:08 MainProcess MainThread settings _set_tf_settings DEBUG Not setting any specific Tensorflow settings
02/13/2023 13:58:08 MainProcess MainThread settings _set_keras_mixed_precision DEBUG use_mixed_precision: False
02/13/2023 13:58:08 MainProcess MainThread settings _set_keras_mixed_precision DEBUG Disabling mixed precision. (Compute dtype: float32, variable_dtype: float32)
02/13/2023 13:58:08 MainProcess MainThread settings _get_strategy DEBUG Using strategy: None
02/13/2023 13:58:08 MainProcess MainThread settings __init__ DEBUG Initialized Settings
02/13/2023 13:58:08 MainProcess MainThread settings __init__ DEBUG Initializing Loss: (color_order: bgr)
02/13/2023 13:58:08 MainProcess MainThread settings _get_mask_channels DEBUG uses_masks: (True, True, True), mask_channels: [3, 4, 5]
02/13/2023 13:58:08 MainProcess MainThread settings __init__ DEBUG Initialized: Loss
02/13/2023 13:58:08 MainProcess MainThread model __init__ DEBUG Initialized ModelBase (Model)
02/13/2023 13:58:08 MainProcess MainThread settings strategy_scope DEBUG Using strategy scope: <contextlib.nullcontext object at 0x15db35d00>
02/13/2023 13:58:08 MainProcess MainThread io _load DEBUG Loading model: /Users/Local-Louis/Downloads/original.h5
Traceback (most recent call last):
File "/Users/Local-Louis/faceswap/lib/cli/launcher. py", line 229, in execute_script
process = script(arguments)
File "/Users/Local-Louis/faceswap/scripts/convert. py", line 103, in __init__
self._predictor = Predict(self._disk_io.load_queue, self._queue_size, arguments)
File "/Users/Local-Louis/faceswap/scripts/convert. py", line 727, in __init__
self._model = self._load_model()
File "/Users/Local-Louis/faceswap/scripts/convert. py", line 812, in _load_model
model.build()
File "/Users/Local-Louis/faceswap/plugins/train/model/_base/model. py", line 303, in build
model = self._io._load() # pylint:disable=protected-access
File "/Users/Local-Louis/faceswap/plugins/train/model/_base/io. py", line 152, in _load
model = load_model(self._filename, compile=False)
File "/Users/Local-Louis/miniforge3/envs/faceswap/lib/python3.9/site-packages/keras/utils/traceback_utils. py", line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/Users/Local-Louis/miniforge3/envs/faceswap/lib/python3.9/site-packages/h5py/_hl/files. py", line 507, in __init__
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
File "/Users/Local-Louis/miniforge3/envs/faceswap/lib/python3.9/site-packages/h5py/_hl/files. py", line 220, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 106, in h5py.h5f.open
OSError: Unable to open file (truncated file: eof = 96, sblock->base_addr = 0, stored_eof = 2048)
============ System Information ============
backend: apple_silicon
encoding: UTF-8
git_branch: master
git_commits: b4212de bugfix: pin numpy
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: /physical_device:GPU:0
gpu_devices_active: GPU_0
gpu_driver: Not Applicable
gpu_vram: GPU_0: 16384MB (7891MB free)
os_machine: arm64
os_platform: macOS-13.2-arm64-arm-64bit
os_release: 22.3.0
py_command: /Users/Local-Louis/faceswap/faceswap. py convert -i /Users/Local-Louis/Desktop/Movie.mov -o /Users/Local-Louis/Downloads -al /Users/Local-Louis/Desktop/Movie_alignments.fsa -m /Users/Local-Louis/Downloads -c avg-color -M extended -w opencv -osc 100 -l 0.4 -j 0 -L INFO -gui
py_conda_version: conda 22.11.1
py_implementation: CPython
py_version: 3.9.16
py_virtual_env: True
sys_cores: 12
sys_processor: arm
sys_ram: Total: 16384MB, Available: 7821MB, Used: 4402MB, Free: 3898MB
=============== Pip Packages ===============
absl-py @ file:///home/conda/feedstock_root/build_artifacts/absl-py_1673535674859/work
aiohttp @ file:///Users/runner/miniforge3/conda-bld/aiohttp_1676292811096/work
aiosignal @ file:///home/conda/feedstock_root/build_artifacts/aiosignal_1667935791922/work
appdirs @ file:///home/conda/feedstock_root/build_artifacts/appdirs_1603108395799/work
astunparse @ file:///home/conda/feedstock_root/build_artifacts/astunparse_1610696312422/work
async-timeout @ file:///home/conda/feedstock_root/build_artifacts/async-timeout_1640026696943/work
attrs @ file:///home/conda/feedstock_root/build_artifacts/attrs_1671632566681/work
blinker @ file:///home/conda/feedstock_root/build_artifacts/blinker_1664823096650/work
brotlipy @ file:///Users/runner/miniforge3/conda-bld/brotlipy_1666764778428/work
cached-property @ file:///home/conda/feedstock_root/build_artifacts/cached_property_1615209429212/work
cachetools @ file:///home/conda/feedstock_root/build_artifacts/cachetools_1674482203741/work
certifi==2022.12.7
cffi @ file:///Users/runner/miniforge3/conda-bld/cffi_1671179432479/work
charset-normalizer @ file:///home/conda/feedstock_root/build_artifacts/charset-normalizer_1661170624537/work
click @ file:///home/conda/feedstock_root/build_artifacts/click_1666798198223/work
cloudpickle @ file:///home/conda/feedstock_root/build_artifacts/cloudpickle_1674202310934/work
colorama @ file:///home/conda/feedstock_root/build_artifacts/colorama_1666700638685/work
cryptography @ file:///Users/runner/miniforge3/conda-bld/cryptography-split_1675828776259/work
cycler @ file:///home/conda/feedstock_root/build_artifacts/cycler_1635519461629/work
decorator @ file:///home/conda/feedstock_root/build_artifacts/decorator_1641555617451/work
dm-tree @ file:///Users/runner/miniforge3/conda-bld/dm-tree_1649681384944/work
fastcluster==1.2.6
ffmpy @ file:///home/conda/feedstock_root/build_artifacts/ffmpy_1659474992694/work
flatbuffers @ file:///home/conda/feedstock_root/build_artifacts/python-flatbuffers_1674415895114/work
fonttools @ file:///Users/runner/miniforge3/conda-bld/fonttools_1666827107313/work
frozenlist @ file:///Users/runner/miniforge3/conda-bld/frozenlist_1667935560987/work
gast @ file:///home/conda/feedstock_root/build_artifacts/gast_1596839682936/work
google-auth @ file:///home/conda/feedstock_root/build_artifacts/google-auth_1673988769610/work
google-auth-oauthlib @ file:///home/conda/feedstock_root/build_artifacts/google-auth-oauthlib_1630497468950/work
google-pasta==0.2.0
grpcio @ file:///Users/runner/miniforge3/conda-bld/grpcio_1653138941901/work
h5py @ file:///Users/runner/miniforge3/conda-bld/h5py_1637964045648/work
idna @ file:///home/conda/feedstock_root/build_artifacts/idna_1663625384323/work
imageio @ file:///home/conda/feedstock_root/build_artifacts/imageio_1676279494281/work
imageio-ffmpeg @ file:///home/conda/feedstock_root/build_artifacts/imageio-ffmpeg_1673483481485/work
importlib-metadata @ file:///home/conda/feedstock_root/build_artifacts/importlib-metadata_1672612343532/work
joblib @ file:///home/conda/feedstock_root/build_artifacts/joblib_1663332044897/work
keras==2.10.0
Keras-Preprocessing @ file:///home/conda/feedstock_root/build_artifacts/keras-preprocessing_1610713559828/work
kiwisolver @ file:///Users/runner/miniforge3/conda-bld/kiwisolver_1666805901953/work
libclang==15.0.6.1
Markdown @ file:///home/conda/feedstock_root/build_artifacts/markdown_1657921053229/work
MarkupSafe @ file:///Users/runner/miniforge3/conda-bld/markupsafe_1674135926863/work
matplotlib @ file:///Users/runner/miniforge3/conda-bld/matplotlib-suite_1661439904837/work
multidict @ file:///Users/runner/miniforge3/conda-bld/multidict_1672339583149/work
munkres==1.1.4
numexpr @ file:///Users/runner/miniforge3/conda-bld/numexpr_1666816696240/work
numpy @ file:///Users/runner/miniforge3/conda-bld/numpy_1660672958449/work
nvidia-ml-py @ file:///home/conda/feedstock_root/build_artifacts/nvidia-ml-py_1673472441120/work
oauthlib @ file:///home/conda/feedstock_root/build_artifacts/oauthlib_1666056362788/work
opencv-python==4.7.0.68
opt-einsum @ file:///home/conda/feedstock_root/build_artifacts/opt_einsum_1617859230218/work
packaging @ file:///home/conda/feedstock_root/build_artifacts/packaging_1673482170163/work
pexpect @ file:///home/conda/feedstock_root/build_artifacts/pexpect_1667297516076/work
Pillow @ file:///Users/runner/miniforge3/conda-bld/pillow_1675487305816/work
pooch @ file:///home/conda/feedstock_root/build_artifacts/pooch_1643032624649/work
protobuf==3.19.4
psutil @ file:///Users/runner/miniforge3/conda-bld/psutil_1667885951924/work
ptyprocess @ file:///home/conda/feedstock_root/build_artifacts/ptyprocess_1609419310487/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
pyasn1==0.4.8
pyasn1-modules==0.2.7
pycparser @ file:///home/conda/feedstock_root/build_artifacts/pycparser_1636257122734/work
PyJWT @ file:///home/conda/feedstock_root/build_artifacts/pyjwt_1666240235902/work
pyOpenSSL @ file:///home/conda/feedstock_root/build_artifacts/pyopenssl_1672659226110/work
pyparsing @ file:///home/conda/feedstock_root/build_artifacts/pyparsing_1652235407899/work
PySocks @ file:///home/conda/feedstock_root/build_artifacts/pysocks_1661604839144/work
python-dateutil @ file:///home/conda/feedstock_root/build_artifacts/python-dateutil_1626286286081/work
pyu2f @ file:///home/conda/feedstock_root/build_artifacts/pyu2f_1604248910016/work
requests @ file:///home/conda/feedstock_root/build_artifacts/requests_1673863902341/work
requests-oauthlib @ file:///home/conda/feedstock_root/build_artifacts/requests-oauthlib_1643557462909/work
rsa @ file:///home/conda/feedstock_root/build_artifacts/rsa_1658328885051/work
scikit-learn @ file:///Users/runner/miniforge3/conda-bld/scikit-learn_1674599098664/work
scipy==1.10.0
six @ file:///home/conda/feedstock_root/build_artifacts/six_1620240208055/work
tensorboard==2.10.1
tensorboard-data-server @ file:///Users/runner/miniforge3/conda-bld/tensorboard-data-server_1670043859733/work/tensorboard_data_server-0.6.1-py3-none-macosx_11_0_arm64.whl
tensorboard-plugin-wit @ file:///home/conda/feedstock_root/build_artifacts/tensorboard-plugin-wit_1641458951060/work/tensorboard_plugin_wit-1.8.1-py3-none-any.whl
tensorflow-estimator==2.10.0
tensorflow-macos==2.10.0
tensorflow-metal==0.6.0
tensorflow-probability==0.7.0
termcolor @ file:///home/conda/feedstock_root/build_artifacts/termcolor_1672833821273/work
threadpoolctl @ file:///home/conda/feedstock_root/build_artifacts/threadpoolctl_1643647933166/work
tornado @ file:///Users/runner/miniforge3/conda-bld/tornado_1666788824966/work
tqdm @ file:///home/conda/feedstock_root/build_artifacts/tqdm_1662214488106/work
typing_extensions @ file:///home/conda/feedstock_root/build_artifacts/typing_extensions_1665144421445/work
unicodedata2 @ file:///Users/runner/miniforge3/conda-bld/unicodedata2_1667239959992/work
urllib3 @ file:///home/conda/feedstock_root/build_artifacts/urllib3_1673452138552/work
Werkzeug @ file:///home/conda/feedstock_root/build_artifacts/werkzeug_1660053523487/work
wrapt @ file:///Users/runner/miniforge3/conda-bld/wrapt_1666806126518/work
yarl @ file:///Users/runner/miniforge3/conda-bld/yarl_1672341025811/work
zipp @ file:///home/conda/feedstock_root/build_artifacts/zipp_1675982654259/work
============== Conda Packages ==============
# packages in environment at /Users/Local-Louis/miniforge3/envs/faceswap:
#
# Name Version Build Channel
absl-py 1.4.0 pyhd8ed1ab_0 conda-forge
aiohttp 3.8.4 py39h02fc5c5_0 conda-forge
aiosignal 1.3.1 pyhd8ed1ab_0 conda-forge
aom 3.5.0 h7ea286d_0 conda-forge
appdirs 1.4.4 pyh9f0ad1d_0 conda-forge
astunparse 1.6.3 pyhd8ed1ab_0 conda-forge
async-timeout 4.0.2 pyhd8ed1ab_0 conda-forge
attrs 22.2.0 pyh71513ae_0 conda-forge
blinker 1.5 pyhd8ed1ab_0 conda-forge
brotli 1.0.9 h1a8c8d9_8 conda-forge
brotli-bin 1.0.9 h1a8c8d9_8 conda-forge
brotlipy 0.7.0 py39h02fc5c5_1005 conda-forge
bzip2 1.0.8 h3422bc3_4 conda-forge
c-ares 1.18.1 h3422bc3_0 conda-forge
ca-certificates 2022.12.7 h4653dfc_0 conda-forge
cached-property 1.5.2 hd8ed1ab_1 conda-forge
cached_property 1.5.2 pyha770c72_1 conda-forge
cachetools 5.3.0 pyhd8ed1ab_0 conda-forge
certifi 2022.12.7 pyhd8ed1ab_0 conda-forge
cffi 1.15.1 py39h7e6b969_3 conda-forge
charset-normalizer 2.1.1 pyhd8ed1ab_0 conda-forge
click 8.1.3 unix_pyhd8ed1ab_2 conda-forge
cloudpickle 2.2.1 pyhd8ed1ab_0 conda-forge
colorama 0.4.6 pyhd8ed1ab_0 conda-forge
cryptography 39.0.1 py39he2a39a8_0 conda-forge
cycler 0.11.0 pyhd8ed1ab_0 conda-forge
decorator 5.1.1 pyhd8ed1ab_0 conda-forge
dm-tree 0.1.7 py39h2666b31_0 conda-forge
expat 2.5.0 hb7217d7_0 conda-forge
fastcluster 1.2.6 pypi_0 pypi
ffmpeg 5.1.2 gpl_hf318d42_106 conda-forge
ffmpy 0.3.0 pyhb6f538c_0 conda-forge
flatbuffers 22.12.06 hb7217d7_2 conda-forge
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 3.000 h77eed37_0 conda-forge
font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge
font-ttf-ubuntu 0.83 hab24e00_0 conda-forge
fontconfig 2.14.2 h82840c6_0 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
fonttools 4.38.0 py39h02fc5c5_1 conda-forge
freetype 2.12.1 hd633e50_1 conda-forge
frozenlist 1.3.3 py39h02fc5c5_0 conda-forge
gast 0.4.0 pyh9f0ad1d_0 conda-forge
gettext 0.21.1 h0186832_0 conda-forge
giflib 5.2.1 h27ca646_2 conda-forge
gmp 6.2.1 h9f76cd9_0 conda-forge
gnutls 3.7.8 h9f1a10d_0 conda-forge
google-auth 2.16.0 pyh1a96a4e_1 conda-forge
google-auth-oauthlib 0.4.6 pyhd8ed1ab_0 conda-forge
google-pasta 0.2.0 pyh8c360ce_0 conda-forge
grpcio 1.46.3 py39h365d37b_0 conda-forge
h5py 3.6.0 nompi_py39hd982b79_100 conda-forge
hdf5 1.12.1 nompi_hd9dbc9e_104 conda-forge
icu 70.1 h6b3803e_0 conda-forge
idna 3.4 pyhd8ed1ab_0 conda-forge
imageio 2.25.1 pyh24c5eb1_0 conda-forge
imageio-ffmpeg 0.4.8 pyhd8ed1ab_0 conda-forge
importlib-metadata 6.0.0 pyha770c72_0 conda-forge
joblib 1.2.0 pyhd8ed1ab_0 conda-forge
jpeg 9e h1a8c8d9_3 conda-forge
keras 2.10.0 pypi_0 pypi
keras-preprocessing 1.1.2 pyhd8ed1ab_0 conda-forge
kiwisolver 1.4.4 py39haaf3ac1_1 conda-forge
krb5 1.20.1 h69eda48_0 conda-forge
lame 3.100 h1a8c8d9_1003 conda-forge
lcms2 2.14 h481adae_1 conda-forge
lerc 4.0.0 h9a09cb3_0 conda-forge
libabseil 20220623.0 cxx17_h28b99d4_6 conda-forge
libaec 1.0.6 hb7217d7_1 conda-forge
libblas 3.9.0 16_osxarm64_openblas conda-forge
libbrotlicommon 1.0.9 h1a8c8d9_8 conda-forge
libbrotlidec 1.0.9 h1a8c8d9_8 conda-forge
libbrotlienc 1.0.9 h1a8c8d9_8 conda-forge
libcblas 3.9.0 16_osxarm64_openblas conda-forge
libclang 15.0.6.1 pypi_0 pypi
libcurl 7.87.0 h9049daf_0 conda-forge
libcxx 14.0.6 h2692d47_0 conda-forge
libdeflate 1.17 h1a8c8d9_0 conda-forge
libedit 3.1.20191231 hc8eb9b7_2 conda-forge
libev 4.33 h642e427_1 conda-forge
libffi 3.4.2 h3422bc3_5 conda-forge
libgfortran 5.0.0 11_3_0_hd922786_27 conda-forge
libgfortran5 11.3.0 hdaf2cc0_27 conda-forge
libiconv 1.17 he4db4b2_0 conda-forge
libidn2 2.3.4 h1a8c8d9_0 conda-forge
liblapack 3.9.0 16_osxarm64_openblas conda-forge
libnghttp2 1.51.0 hae82a92_0 conda-forge
libopenblas 0.3.21 openmp_hc731615_3 conda-forge
libopus 1.3.1 h27ca646_1 conda-forge
libpng 1.6.39 h76d750c_0 conda-forge
libprotobuf 3.19.4 hccf11d3_0 conda-forge
libsqlite 3.40.0 h76d750c_0 conda-forge
libssh2 1.10.0 h7a5bd25_3 conda-forge
libtasn1 4.19.0 h1a8c8d9_0 conda-forge
libtiff 4.5.0 h5dffbdd_2 conda-forge
libunistring 0.9.10 h3422bc3_0 conda-forge
libvpx 1.11.0 hc470f4d_3 conda-forge
libwebp-base 1.2.4 h57fd34a_0 conda-forge
libxcb 1.13 h9b22ae9_1004 conda-forge
libxml2 2.10.3 h87b0503_0 conda-forge
libzlib 1.2.13 h03a7124_4 conda-forge
llvm-openmp 15.0.7 h7cfbb63_0 conda-forge
markdown 3.4.1 pyhd8ed1ab_0 conda-forge
markupsafe 2.1.2 py39h02fc5c5_0 conda-forge
matplotlib 3.5.3 py39hdf13c20_2 conda-forge
matplotlib-base 3.5.3 py39ha500c34_2 conda-forge
multidict 6.0.4 py39h02fc5c5_0 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
ncurses 6.3 h07bb92c_1 conda-forge
nettle 3.8.1 h63371fa_1 conda-forge
numexpr 2.8.3 py39hde7b980_1 conda-forge
numpy 1.23.2 py39h3668e8b_0 conda-forge
nvidia-ml-py 11.525.84 pyhd8ed1ab_2 conda-forge
oauthlib 3.2.2 pyhd8ed1ab_0 conda-forge
opencv-python 4.7.0.68 pypi_0 pypi
openh264 2.3.1 hb7217d7_2 conda-forge
openjpeg 2.5.0 hbc2ba62_2 conda-forge
openssl 3.0.8 h03a7124_0 conda-forge
opt_einsum 3.3.0 pyhd8ed1ab_1 conda-forge
p11-kit 0.24.1 h29577a5_0 conda-forge
packaging 23.0 pyhd8ed1ab_0 conda-forge
pexpect 4.8.0 pyh1a96a4e_2 conda-forge
pillow 9.4.0 py39h8bd98a6_1 conda-forge
pip 23.0 pyhd8ed1ab_0 conda-forge
pooch 1.6.0 pyhd8ed1ab_0 conda-forge
protobuf 3.19.4 py39hfb83b0d_0 conda-forge
psutil 5.9.4 py39h02fc5c5_0 conda-forge
pthread-stubs 0.4 h27ca646_1001 conda-forge
ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge
pyasn1 0.4.8 py_0 conda-forge
pyasn1-modules 0.2.7 py_0 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pyjwt 2.6.0 pyhd8ed1ab_0 conda-forge
pyopenssl 23.0.0 pyhd8ed1ab_0 conda-forge
pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge
pysocks 1.7.1 pyha2e5f31_6 conda-forge
python 3.9.16 hea58f1e_0_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python-flatbuffers 23.1.21 pyhd8ed1ab_0 conda-forge
python_abi 3.9 3_cp39 conda-forge
pyu2f 0.1.5 pyhd8ed1ab_0 conda-forge
re2 2023.02.01 hb7217d7_0 conda-forge
readline 8.1.2 h46ed386_0 conda-forge
requests 2.28.2 pyhd8ed1ab_0 conda-forge
requests-oauthlib 1.3.1 pyhd8ed1ab_0 conda-forge
rsa 4.9 pyhd8ed1ab_0 conda-forge
scikit-learn 1.2.1 py39h57c6424_0 conda-forge
scipy 1.10.0 py39h18313fe_2 conda-forge
setuptools 67.1.0 pyhd8ed1ab_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
snappy 1.1.9 h17c5cce_2 conda-forge
svt-av1 1.4.1 h7ea286d_0 conda-forge
tensorboard 2.10.1 pypi_0 pypi
tensorboard-data-server 0.6.1 py39he2a39a8_4 conda-forge
tensorboard-plugin-wit 1.8.1 pyhd8ed1ab_0 conda-forge
tensorflow-deps 2.10.0 0 apple
tensorflow-estimator 2.10.0 pypi_0 pypi
tensorflow-macos 2.10.0 pypi_0 pypi
tensorflow-metal 0.6.0 pypi_0 pypi
tensorflow-probability 0.7 py_1 conda-forge
termcolor 2.2.0 pyhd8ed1ab_0 conda-forge
threadpoolctl 3.1.0 pyh8a188c0_0 conda-forge
tk 8.6.12 he1e0b03_0 conda-forge
tornado 6.2 py39h02fc5c5_1 conda-forge
tqdm 4.64.1 pyhd8ed1ab_0 conda-forge
typing-extensions 4.4.0 hd8ed1ab_0 conda-forge
typing_extensions 4.4.0 pyha770c72_0 conda-forge
tzdata 2022g h191b570_0 conda-forge
unicodedata2 15.0.0 py39h02fc5c5_0 conda-forge
urllib3 1.26.14 pyhd8ed1ab_0 conda-forge
werkzeug 2.2.2 pyhd8ed1ab_0 conda-forge
wheel 0.38.4 pyhd8ed1ab_0 conda-forge
wrapt 1.14.1 py39h02fc5c5_1 conda-forge
x264 1!164.3095 h57fd34a_2 conda-forge
x265 3.5 hbc6ce65_3 conda-forge
xorg-libxau 1.0.9 h27ca646_0 conda-forge
xorg-libxdmcp 1.1.3 h27ca646_0 conda-forge
xz 5.2.6 h57fd34a_0 conda-forge
yarl 1.8.2 py39h02fc5c5_0 conda-forge
zipp 3.13.0 pyhd8ed1ab_0 conda-forge
zlib 1.2.13 h03a7124_4 conda-forge
zstd 1.5.2 hf913c23_6 conda-forge
================= Configs ==================
--------- convert.ini ---------
[color.color_transfer]
clip: True
preserve_paper: True
[color.match_hist]
threshold: 99.0
[color.manual_balance]
colorspace: HSV
balance_1: 0.0
balance_2: 0.0
balance_3: 0.0
contrast: 0.0
brightness: 0.0
[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
[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
[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
--------- 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
--------- .faceswap ---------
backend: apple_silicon
--------- 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
[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.cv2_dnn]
confidence: 50
[detect.s3fd]
confidence: 70
batch-size: 4
[align.fan]
batch-size: 12
[mask.unet_dfl]
batch-size: 8
[mask.custom]
batch-size: 8
centering: face
fill: False
[mask.vgg_obstructed]
batch-size: 2
[mask.vgg_clear]
batch-size: 6
[mask.bisenet_fp]
batch-size: 8
cpu: False
weights: faceswap
include_ears: False
include_hair: False
include_glasses: True
[recognition.vgg_face2]
batch-size: 16
cpu: False
--------- 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.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.dfl_sae]
input_size: 128
architecture: df
autoencoder_dims: 0
encoder_dims: 42
decoder_dims: 21
multiscale_decoder: False
[model.unbalanced]
input_size: 128
lowmem: False
nodes: 1024
complexity_encoder: 128
complexity_decoder_a: 384
complexity_decoder_b: 512
[model.dlight]
features: best
details: good
output_size: 256
[model.villain]
lowmem: False
[model.dfaker]
output_size: 128
[model.original]
lowmem: False
[model.dfl_h128]
lowmem: False
[trainer.original]
preview_images: 14
zoom_amount: 5
rotation_range: 10
shift_range: 5
flip_chance: 50
color_lightness: 30
color_ab: 8
color_clahe_chance: 50
color_clahe_max_size: 4