Do a noisy unconsitional for vision direct
This commit is contained in:
1 parent
8f0f467c20
commit
443c996e7f
1 file changed
+1
-1
@@ -1174,7 +1174,7 @@ class SDTrainer(BaseSDTrainProcess):
|
|||||||
quad_count = random.randint(1, 4)
|
quad_count = random.randint(1, 4)
|
||||||
self.adapter.train()
|
self.adapter.train()
|
||||||
self.adapter.trigger_pre_te(
|
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,
|
is_training=True,
|
||||||
has_been_preprocessed=True,
|
has_been_preprocessed=True,
|
||||||
quad_count=quad_count,
|
quad_count=quad_count,
|
||||||
|
|||||||
Reference in new issue
Block a user