We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b773cc commit ec4b0cfCopy full SHA for ec4b0cf
examples/wan2_2/wan/trainer/lora_trainer.py
@@ -141,6 +141,7 @@ def validate(self):
141
logger.info("Running validation...")
142
self.pipeline.model.set_train(False)
143
self.pipeline.generate(**self.generation_config)
144
+ self.pipeline.model.set_train(True)
145
146
def train(self, num_epochs):
147
for epoch in range(num_epochs):
0 commit comments