mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-15 06:21:34 +03:00
a88cf2a22c
# Description Intermediate image saving in scn2img tries to save metadata which is not set. This results in warning thrown in console: "Couldn't find metadata on image", originally reported by @codedealer in https://github.com/sd-webui/stable-diffusion-webui/pull/1179#pullrequestreview-1120015859 Metadata for intermediate images is added to fix the warning. Following metadata is written: - "prompt" contains the representation of the SceneObject corresponding to the intermediate image - "seed" contains the seed at the start of the function that generated this intermediate image - "width" and "height" contain the size of the image. To get the seed at the start of the render function without using it, a class SeedGenerator is added and used instead of the python generator functions. Fixes warning thrown in console: "> Couldn't find metadata on image", originally reported by @codedealer in https://github.com/sd-webui/stable-diffusion-webui/pull/1179#pullrequestreview-1120015859 # Checklist: - [x] I have changed the base branch to `dev` - [x] I have performed a self-review of my own code - [x] I have commented my code in hard-to-understand areas - [x] I have made corresponding changes to the documentation |
||
---|---|---|
.. | ||
pipelines/stable_diffusion | ||
__init__.py | ||
bridgeData_template.py | ||
clip_interrogator.py | ||
diffusers_textual_inversion_2.py | ||
home.py | ||
img2img.py | ||
img2txt.py | ||
imglab.py | ||
logger.py | ||
merge.py | ||
modeldownload.py | ||
ModelManager.py | ||
perlin.py | ||
relauncher.py | ||
scn2img.py | ||
sd_concept_library.py | ||
sd_concepts_library_downloader.py | ||
sd_utils.py | ||
Settings.py | ||
stable_diffusion_pipeline.py | ||
textual_inversion.py | ||
txt2img.py | ||
txt2vid.py | ||
webui_streamlit.py | ||
webui.py |