mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-01-26 16:39:47 +00:00
Added training for pixart-a
This commit is contained in:
@@ -1054,7 +1054,8 @@ class BaseSDTrainProcess(BaseTrainProcess):
|
||||
self.train_config.noise_scheduler,
|
||||
{
|
||||
"prediction_type": "v_prediction" if self.model_config.is_v_pred else "epsilon",
|
||||
}
|
||||
},
|
||||
'sd' if not self.model_config.is_pixart else 'pixart'
|
||||
)
|
||||
|
||||
if self.train_config.train_refiner and self.model_config.refiner_name_or_path is not None and self.network_config is None:
|
||||
|
||||
Reference in New Issue
Block a user