taming-transformers icon indicating copy to clipboard operation
taming-transformers copied to clipboard

How to control the number of output images in the log directory when training on a custom model?

Open Voyajer opened this issue 3 years ago • 1 comments

By default the images generated are based on their step count doubling each time for the first epoch, then for each subsequent epoch only the first step inputs and reconstructions are generated. Is there a way to change this behavior?

Voyajer avatar Feb 06 '22 05:02 Voyajer

You can adjust the frequency of output images using the 'batch_frequency' value, located at main.py->default_callbacks_cfg["image_logger"]["params"]["batch_frequency"]. Images will be logged when the batch index reaches an integer multiple of 'batch_frequency'. For more details, refer to the 'ImageLogger' class in main.py.

chiexplorer avatar Mar 07 '24 12:03 chiexplorer