stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Output prompt data doesn't include hypernet steps suffix

Open space-nuko opened this issue 3 years ago • 0 comments

Describe the bug When I train a hypernet I frequently want to compare the intermediate outputs between each other. And I might also want to load a prompt I used earlier with a previous hypernet. However it seems that the output prompt after generating doesn't include the filename suffix of the hypernet to distinguish between the two.

Example is a hypernet like net-50000.pt, it appears as Hypernet: net in the output. So if I switch to net-60000.pt and load the earlier prompt it doesn't load the correct hypernet, it might just load net.pt instead.

This is bothersome since I might forget what hypernet I used for a specific generation

To Reproduce Steps to reproduce the behavior:

  1. Load hypernet net-50000.pt and generate image
  2. Load another hypernet net-60000.pt with later training steps and generate another image
  3. Reload the first prompt that was output

Expected behavior net-50000.pt should be loaded in this case. Instead it just loads net.pt which is the one with the most training steps.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Commit revision be1596ce30b1ead6998da0c62003003dcce5eb2c

Additional context Maybe adding a md5sum to the hypernet name would help future-proof things?

space-nuko avatar Oct 16 '22 10:10 space-nuko