mirror of
https://github.com/wassname/peft.git
synced 2026-09-09 11:28:32 +08:00
Merge pull request #49 from orenwang/main
fix validation_steps handling in dreambooth example
This commit is contained in:
@@ -978,7 +978,7 @@ def main(args):
|
||||
|
||||
if (
|
||||
args.validation_prompt is not None
|
||||
and step + num_update_steps_per_epoch * epoch % args.validation_steps == 0
|
||||
and (step + num_update_steps_per_epoch * epoch) % args.validation_steps == 0
|
||||
):
|
||||
logger.info(
|
||||
f"Running validation... \n Generating {args.num_validation_images} images with prompt:"
|
||||
|
||||
Reference in New Issue
Block a user