basujindal / stable-diffusion

Optimized Stable Diffusion modified to run on lower GPU VRAM
Other
3.14k stars 469 forks source link

Original Prompt not 100% regainable #139

Open veni-vidi-code opened 2 years ago

veni-vidi-code commented 2 years ago

Current state:

Using the gradio text to image (i think img 2 img will be the same) the programm creates a folder for each prompt. In order of doing so spaces will get replaced with _ (and possibly even more once #94 is fixed). This results in prompts with havily different outputs ont the same seed to be identical (e.g. A ice phoenix, epic, fantasy, 4K, render, cinematic vs A_ice_phoenix,_epic,_fantasy,_4K,_render,_cinematic both save into the same folder with no distinction, but here are examples on seed 274725 seed_274725_00000 seed_274725_00003 )

Possible solution

Add some exif or itxt data to each image which includes the original prompt and possibly also the seed.

other

I am currently working on implementing this change and will create a pr soon

veni-vidi-code commented 2 years ago

Just saw that #65 exists