mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-03-13 22:49:48 +00:00
Do a noisy unconsitional for vision direct
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user