mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-09 06:45:09 +00:00
validation: Implement timestep-based validation processing
This commit is contained in:
@@ -446,6 +446,7 @@ class Sd3NetworkTrainer(train_network.NetworkTrainer):
|
||||
prepare_fp8(text_encoder, weight_dtype)
|
||||
|
||||
def on_step_start(self, args, accelerator, network, text_encoders, unet, batch, weight_dtype):
|
||||
# TODO consider validation
|
||||
# drop cached text encoder outputs
|
||||
text_encoder_outputs_list = batch.get("text_encoder_outputs_list", None)
|
||||
if text_encoder_outputs_list is not None:
|
||||
|
||||
Reference in New Issue
Block a user