Select "Random warp" = y, Model Summary says "random_warp : False"
Expected behavior
Running pretraining, liae-ud, 256x64x64x22 answered "Enable random warp of samples" first with "?" to get help, then with "y" to enable I expect the model summary during training to then say "random_warp : True".
Actual behavior
Model summary during training says "random_warp : False".
Output:
Enable random warp of samples ( y/n ?:help ) : ?
Random warp is required to generalize facial expressions of both faces. When the face is trained enough, you can disable it to get extra sharpness and reduce subpixel shake for less amount of iterations.
[y] Enable random warp of samples ( y/n ?:help ) :
y
[0.0] GAN power ( 0.0 .. 10.0 ?:help ) :
0.0
[0.0] Face style power ( 0.0..100.0 ?:help ) :
0.0
[0.0] Background style power ( 0.0..100.0 ?:help ) :
0.0
[none] Color transfer for src faceset ( none/rct/lct/mkl/idt/sot ?:help ) :
none
[n] Enable gradient clipping ( y/n ?:help ) :
n
[y] Enable pretraining mode ( y/n ?:help ) :
y
Initializing models: 100%|############################################################################################################################################| 5/5 [00:03<00:00, 1.30it/s]
Loaded 2186 packed faces from D:\DFL\DeepFaceLab_NVIDIA\_internal\pretrain_CelebA
Sort by yaw: 100%|##############################################################################################################################################| 128/128 [00:00<00:00, 1829.46it/s]
Sort by yaw: 100%|##############################################################################################################################################| 128/128 [00:00<00:00, 1803.40it/s]
================= Model Summary =================
== ==
== Model name: Pretrain6GB_SAEHD ==
== ==
== Current iteration: 12953 ==
== ==
==--------------- Model Options ---------------==
== ==
== resolution: 256 ==
== face_type: wf ==
== models_opt_on_gpu: True ==
== archi: liae-ud ==
== ae_dims: 256 ==
== e_dims: 64 ==
== d_dims: 64 ==
== d_mask_dims: 22 ==
== masked_training: True ==
== eyes_prio: False ==
== uniform_yaw: True ==
== lr_dropout: n ==
== random_warp: False ==
== gan_power: 0.0 ==
== true_face_power: 0.0 ==
== face_style_power: 0.0 ==
== bg_style_power: 0.0 ==
== ct_mode: none ==
== clipgrad: False ==
== pretrain: True ==
== autobackup_hour: 24 ==
== write_preview_history: False ==
== target_iter: 0 ==
== random_flip: True ==
== batch_size: 5 ==
== ==
==---------------- Running On -----------------==
== ==
== Device index: 0 ==
== Name: GeForce GTX 1060 6GB ==
== VRAM: 6.00GB ==
== ==
=================================================
Starting. Press "Enter" to stop training and save model.
[22:50:31][#013303][0968ms][0.2620][0.2657]
This is expected behavior
Sorry, maybe I'm missing something, but how is it expected behavior to configure random_warp to True, and then having the model summary say it's set to False?
It overrides for pretrain
Ah, okay, that makes sense. Feels off though, when you're asked whether you want to use it.
you could change the code you you feel compelled