mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 22:34:25 -07:00
pre-train use LAB randomization
This commit is contained in:
parent
ba8139bcf4
commit
a74e7f44d3
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ class SAEModel(ModelBase):
|
|||
face_type = t.FACE_TYPE_FULL if self.options['face_type'] == 'f' else t.FACE_TYPE_HALF
|
||||
|
||||
global t_mode_bgr
|
||||
t_mode_bgr = t.MODE_BGR if not self.pretrain else t.MODE_BGR_SHUFFLE
|
||||
t_mode_bgr = t.MODE_BGR if not self.pretrain else t.MODE_LAB_RAND_TRANSFORM
|
||||
if self.options['random_color_change']:
|
||||
t_mode_bgr = t.MODE_LAB_RAND_TRANSFORM
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue