mirror of
https://github.com/facefusion/facefusion-labs.git
synced 2026-05-22 23:59:40 +02:00
2e6394565a
* add sync batchnorm * replace random.choice with hash * fifty percent reduction * fix discriminator input * restore dataset.py * Remove duplicates * add discriminator_ratio to config * fix onnx export bug: replace round() with int() * Fix embedding naming * Introduce ModelWithConfigCheckpoint callback (#86) * Fix dist ini * Style: Refactor typing and improve code clarity in training.py (#88) * Add type casting for trainer params * Add type casting for trainer params * Add type casting for trainer params * Remove inplace activations for torch.compile compatibility (#89) * Fix README * improvise with norm layers & weighted average * add skip layer * use gelu instead of leaky_relu * cleanup * cleanup * Update dependencies * Different defaults and enable validation * Different defaults and enable validation * Revert to higher batch size * Just use copy over copy2 --------- Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com> Co-authored-by: NeuroDonu <112660822+NeuroDonu@users.noreply.github.com> Co-authored-by: Harisreedhar <46858047+harisreedhar@users.noreply.github.com>
97 lines
1.4 KiB
INI
97 lines
1.4 KiB
INI
[training.dataset]
|
|
file_pattern =
|
|
convert_template =
|
|
multiplier =
|
|
transform_size =
|
|
usage_mode =
|
|
batch_mode =
|
|
batch_ratio =
|
|
|
|
[training.loader]
|
|
batch_size =
|
|
num_workers =
|
|
split_ratio =
|
|
|
|
[training.model]
|
|
generator_embedder_path =
|
|
loss_embedder_path =
|
|
gazer_path =
|
|
face_masker_path =
|
|
|
|
[training.model.generator]
|
|
source_channels =
|
|
output_size =
|
|
num_blocks =
|
|
|
|
[training.model.discriminator]
|
|
input_channels =
|
|
num_filters =
|
|
num_layers =
|
|
num_discriminators =
|
|
kernel_size =
|
|
|
|
[training.model.masker]
|
|
input_channels =
|
|
output_channels =
|
|
num_filters =
|
|
|
|
[training.losses]
|
|
adversarial_weight =
|
|
cycle_weight =
|
|
feature_weight =
|
|
reconstruction_weight =
|
|
identity_weight =
|
|
gaze_weight =
|
|
mask_weight =
|
|
|
|
[training.trainer]
|
|
accumulate_size =
|
|
discriminator_ratio =
|
|
gradient_clip =
|
|
max_epochs =
|
|
strategy =
|
|
precision =
|
|
sync_batchnorm =
|
|
preview_frequency =
|
|
|
|
[training.modifier]
|
|
mask_factor =
|
|
noise_factor =
|
|
|
|
[training.optimizer.generator]
|
|
learning_rate =
|
|
momentum =
|
|
scheduler_factor =
|
|
scheduler_patience =
|
|
|
|
[training.optimizer.discriminator]
|
|
learning_rate =
|
|
momentum =
|
|
scheduler_factor =
|
|
scheduler_patience =
|
|
|
|
[training.logger]
|
|
logger_path =
|
|
logger_name =
|
|
|
|
[training.output]
|
|
directory_path =
|
|
file_pattern =
|
|
resume_path =
|
|
|
|
[exporting]
|
|
directory_path =
|
|
source_path =
|
|
target_path =
|
|
target_size =
|
|
ir_version =
|
|
opset_version =
|
|
precision =
|
|
|
|
[inferencing]
|
|
generator_path =
|
|
embedder_path =
|
|
source_path =
|
|
target_path =
|
|
output_path =
|