mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-17 17:24:21 +00:00
Fix applying image size to post_process_loss
This commit is contained in:
@@ -391,7 +391,7 @@ class Sd3NetworkTrainer(train_network.NetworkTrainer):
|
||||
|
||||
return model_pred, target, timesteps, weighting
|
||||
|
||||
def post_process_loss(self, loss, args, timesteps, noise_scheduler):
|
||||
def post_process_loss(self, loss, args, timesteps, noise_scheduler, latents):
|
||||
return loss
|
||||
|
||||
def get_sai_model_spec(self, args):
|
||||
|
||||
Reference in New Issue
Block a user