mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-29 18:51:37 +00:00
Adjustments to loading of flux. Added a feedback to ema
This commit is contained in:
@@ -582,7 +582,8 @@ class BaseSDTrainProcess(BaseTrainProcess):
|
||||
params.append(param)
|
||||
self.ema = ExponentialMovingAverage(
|
||||
params,
|
||||
self.train_config.ema_config.ema_decay
|
||||
self.train_config.ema_config.ema_decay,
|
||||
use_feedback=self.train_config.ema_config.use_feedback,
|
||||
)
|
||||
|
||||
def before_dataset_load(self):
|
||||
|
||||
Reference in New Issue
Block a user