Add signal_correction_noise_scale to config to scale the signal correction strength
This commit is contained in:
1 parent
454722cc97
commit
a055947d56
2 files changed
+2
-1
No files matched your search
@@ -1312,7 +1312,7 @@ class BaseSDTrainProcess(BaseTrainProcess):
|
||||
batch_noise.shape[0], batch_noise.shape[1], 1, 1,
|
||||
device=batch_noise.device,
|
||||
dtype=batch_noise.dtype
|
||||
)
|
||||
) * self.train_config.signal_correction_noise_scale
|
||||
batch_noise = batch_noise * scn_scale
|
||||
noise = noise + batch_noise
|
||||
|
||||
|
||||
Reference in new issue
Block a user