Do a noisy unconsitional for vision direct
This commit is contained in:
parent
8f0f467c20
commit
443c996e7f
|
|
@ -1174,7 +1174,7 @@ class SDTrainer(BaseSDTrainProcess):
|
|||
quad_count = random.randint(1, 4)
|
||||
self.adapter.train()
|
||||
self.adapter.trigger_pre_te(
|
||||
tensors_0_1=clip_images,
|
||||
tensors_0_1=clip_images if not is_reg else None, # on regs we send none to get random noise
|
||||
is_training=True,
|
||||
has_been_preprocessed=True,
|
||||
quad_count=quad_count,
|
||||
|
|
|
|||
Loading…
Reference in New Issue