Panchovix / stable-diffusion-webui-reForge

GNU Affero General Public License v3.0
350 stars 17 forks source link

[Feature Request]: Schedule Type in file name #115

Open TheVertexDoctor opened 2 months ago

TheVertexDoctor commented 2 months ago

Is there an existing issue for this?

What would your feature do ?

Currently in Settings>Saving images/grids>Images filename pattern, Sampler is one of the options. Now that the schedule type has been detached from the Sampler, can we have the option to add the schedule type to our filename as well? For instance, if I choose:

[datetime<%Y-%m-%d, %H.%M.%S>] - [seed] - [sampler] - [model_name]

I get something like

2024-07-14, 13.55.26 - 1275696670 - DPM++ 2M SDE Heun - albedobaseXL_v21

No scheduler shows up.

What I would like is

[datetime<%Y-%m-%d, %H.%M.%S>] - [seed] - [sampler] - [schedule] - [model_name]

So I would get

2024-07-14, 13.55.26 - 1275696670 - DPM++ 2M SDE Heun - Karras - albedobaseXL_v21

Proposed workflow

  1. Go to Settings>Saving images/grids>Images filename pattern
  2. Add [scheduler]
  3. Schedule type shows up in the file name.

Additional information

No response

ZeroZeroQuatre commented 2 months ago

You can already used [scheduler], despite it not being referenced in the documentation. I changed my settings to : [datetime<%Y-%m-%d (%H-%M-%S)>] - [model_name], [seed], [sampler] [scheduler], [steps], [cfg], [denoising]

And some of the results : 2024-08-07 (18-17-46) - 2dnPony_v10, 1351121167, DPM++ 2M Karras, 20, 7, 0.5.png 2024-08-08 (21-11-51) - 2dnPony_v10, 4184699702, Euler a Automatic, 20, 7, 0.5.png

(You named it [schedule] in your example line - make sure you tried [scheduler] instead)

TheVertexDoctor commented 2 months ago

Thank you so much for letting me know this. I wasn't aware it was already part of it since it relies on the Automatic1111 documentation which clearly hasn't been updated yet.