mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-05-01 03:31:35 +00:00
More fixes for noise schedules and fixed targeted guidance inverted masked prior
This commit is contained in:
@@ -775,7 +775,8 @@ class BaseSDTrainProcess(BaseTrainProcess):
|
||||
if batch.unconditional_latents is not None:
|
||||
batch.unconditional_latents = batch.unconditional_latents * self.train_config.latent_multiplier
|
||||
|
||||
noisy_latents = self.sd.noise_scheduler.add_noise(latents, noise, timesteps)
|
||||
|
||||
noisy_latents = self.sd.add_noise(latents, noise, timesteps)
|
||||
|
||||
# determine scaled noise
|
||||
# todo do we need to scale this or does it always predict full intensity
|
||||
|
||||
Reference in New Issue
Block a user