Closed highjohnconquer closed 11 months ago
This does not seem like a controlnet bug. Can you disable all extensions other than ControlNet and see if the problem persists?
turned off everything. still having the same problem.
Already on 'master' D extensions/put extensions here.txt M webui-user.bat Your branch is up to date with 'origin/master'. venv "E:\Documents\AI\stable-diffusion-webui\venv\Scripts\Python.exe" Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)] Commit hash: 5ab7f213bec2f816f9c5644becb32eb72c8ffb89 Installing requirements
Launching Web UI with arguments: --autolaunch --opt-sdp-attention --api
E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\pkg_resources__init__.py:123: PkgResourcesDeprecationWarning: llow is an invalid version and will not be supported in a future release
warnings.warn(
Stop Motion CN - Running Preload
Set Gradio Queue: True
No module 'xformers'. Proceeding without it.
Error loading script: image_reward.py
Traceback (most recent call last):
File "E:\Documents\AI\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\Documents\AI\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "
45d635454c2dbc31fa1e75a4ccb8dd1031183974 ^ SyntaxError: invalid decimal literal
2023-06-06 18:05:54,907 - ControlNet - INFO - ControlNet v1.1.217 ControlNet preprocessor location: E:\Documents\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads 2023-06-06 18:05:55,069 - ControlNet - INFO - ControlNet v1.1.217 Loading weights [428d778605] from E:\Documents\AI\stable-diffusion-webui\models\Stable-diffusion\M4RV3LSDUNGEONSNEWV25_mD25.safetensors Creating model from config: E:\Documents\AI\stable-diffusion-webui\configs\v1-inference.yaml LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. Loading VAE weights specified in settings: E:\Documents\AI\stable-diffusion-webui\models\VAE\kl-f8-anime2.ckpt Applying scaled dot product cross attention optimization. Textual inversion embeddings loaded(174): 4d0t4k3ch, 4l3xj0n35, 7dirtywords, stardeaf-greenmageddon, advntr, ajiona, alinebernardes, angry512, arcan3, arcan3v2, art by Smoose2, ashleypink, Asian-Less-Neg, bad-artist, bad-artist-anime, bad-hands-5, bad_prompt, bad_prompt_version2, badhandv4, beauty512, blowjobpose, c0183rt, cardstyle15, charturnerv2, cloudport, clrs, corneo_paizuri, corneo_pov_anal, corneo_spitroast, d354nt15, dangercrow, danperk, DarkFantasy, darkskin_style, defiance512, dichen, easynegative, emb-daisy, eonn, fantasycharacter, flame_surge_style, flower_style, fs2023, gh15l41n3, ghst-3000, gigaschizonegs, goldstyle, grin512, gustavedore, happy512, honeygold, hoodnude, hoppagames, hro, kiranoir, kiranoir_2, koh_miakhalifa, laugh512, laurenmcclain, leafskin, m4arj0r13t4y10rgr33n, magicalinterior, marsattacks3, MCHasDex, misslexi, neg_anime512, neg_facelift512, neg_realism512, nervous512, ng_deepnegative_v1_75t, nianacci, No512-neg, pinup512, PlanIt, Portrait512, pppascal, render512, rfktr_bwmnga, RFKTR_plastic, rico_tubbs, rosalinenobodysd15, sad512, sarahbanks, selfie512, shock512, silky-folds, skaijackson, smile512, stormimaya, Style-Autumn, style-bridal, Style-Cupola, Style-Cupola-neg, Style-Empire, style-empire, Style-Empire-neg, style-empire-neg, Style-Glass, Style-Glorious, Style-Glorious-neg, Style-Hamunaptra, style-hamunaptra, Style-HeavyMetal, Style-Hoggy, Style-Hoggy-neg, Style-Lab, Style-LostTemple, Style-LostTemple-neg, Style-Micro, Style-Moana, Style-Moana-neg, Style-NebMagic, Style-Necromancy, Style-Neeko, Style-Nippon, style-paintmagic, Style-Petal, Style-Petal-neg, style-princess, Style-Psycho, style-psycho, Style-Psycho-neg, Style-Renaissance, Style-Renaissance-neg, style-rustmagic, Style-SwampMagic, style-swirlmagic, style-sylvamagic, Style-Water, Style-Winter, Style-Winter-neg, style_solarpunk-neg, tarot512, useembeddingname, useembeddingname-neg, v3rh03v3n, verybadimagenegative_v1.3, was-dieselpunk, was-mecha, was-steampunk, was-transformers, wholesomegrandpas, wholesomegrannies, æoèÉê╟ - Futaba Anzu, æüùM - Sayu, æπ-Åùÿ╗ - Noshiro-maid, è├ëJ - GanYu, ê└öÉ - Amber, ë┬ê╪ - Formidable, ë┬Σ╗ - Klee, ìÅÉ░ - Keqing, î╙ôì - Hu Tao, ïvè≥öE - Kuki Shinobu, ôVÿTÉ»-è°σ┌ - Sirius-cheongsam, öhû╓ - Paimon, ömöm¥f - Barbara, ö£¢P - Mona, ö¬ÅdÉ_Äq - Yae Miko, ûéÅùöVù╖ - ê╔σQ¢P - Majo no Tabitabi - Elaina, 云堇 - Yun Jin, 寒蝉鸣泣之时 - 羽入 - Higurashi When They Cry Hou - Hanyuu, 岛风 - Shimakaze, 无职转生 - 洛琪希 - Mushoku Tensei - Roxy, 无职转生 - 洛 琪希-无帽子 - Mushoku Tensei - Roxy-no hat, 物语系列 - 忍野忍 - Monogatari - Shinobu Oshino, 独角兽 - Unicorn, 独角兽-校服 - Unicorn-JK, 珊瑚宫心海 - Sangonomiya Kokomi, 纳西妲 - Nahida, 萤 - Lumine, 诺艾尔 - Noelle, 贝尔法斯特 - Belfast, 间谍过家家 - 约尔·福杰 - SPY×FAMILY - Yor Forger, 间谍过家家 - 阿尼亚·福杰 - SPY×FAMILY - Anya Forger Textual inversion embeddings skipped(16): SD2_NSFWifier, 21charturnerv2, Art by Smoose-22, dangerowl, DrD_PNTE768, emb_blck_egpt_v4-1000, hellscape768, InkPunk768, inksketchcolour1subtle, Lavastyle, pinup768, rzminjourney, SDA768, UlukInkSketch2, WEBUI, Zootopiav4 Model loaded in 5.3s (load weights from disk: 0.2s, create model: 0.5s, apply weights to model: 1.4s, apply half(): 0.8s, load VAE: 0.3s, move model to device: 0.9s, load textual inversion embeddings: 1.3s). Running on local URL: http://127.0.0.1:7860
To create a public link, set share=True
in launch()
.
Startup time: 27.6s (import torch: 5.5s, import gradio: 1.3s, import ldm: 0.5s, other imports: 1.0s, setup codeformer: 0.1s, load scripts: 2.7s, load SD checkpoint: 5.7s, create ui: 10.3s, gradio launch: 0.4s).
Traceback (most recent call last):
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 399, in run_predict
output = await app.get_blocks().process_api(
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1297, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1145, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "E:\Documents\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 109, in svg_preprocess
return preprocess(inputs)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 1784, in preprocess
im = processing_utils.decode_base64_to_image(x)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\processing_utils.py", line 49, in decode_base64_to_image
exif = img.getexif()
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\PngImagePlugin.py", line 1040, in getexif
return super().getexif()
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 1454, in getexif
self._exif.load(exif_info)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 3670, in load
self._info = TiffImagePlugin.ImageFileDirectory_v2(self.head)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\TiffImagePlugin.py", line 504, in init
raise SyntaxError(msg)
SyntaxError: not a TIFF file (header b"b'Exif\x" not valid)
Traceback (most recent call last):
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 399, in run_predict
output = await app.get_blocks().process_api(
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1297, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1145, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "E:\Documents\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 109, in svg_preprocess
return preprocess(inputs)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 1784, in preprocess
im = processing_utils.decode_base64_to_image(x)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\processing_utils.py", line 49, in decode_base64_to_image
exif = img.getexif()
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\PngImagePlugin.py", line 1040, in getexif
return super().getexif()
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 1454, in getexif
self._exif.load(exif_info)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 3670, in load
self._info = TiffImagePlugin.ImageFileDirectory_v2(self.head)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\TiffImagePlugin.py", line 504, in init
raise SyntaxError(msg)
SyntaxError: not a TIFF file (header b"b'Exif\x" not valid)
Traceback (most recent call last):
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 399, in run_predict
output = await app.get_blocks().process_api(
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1297, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1145, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "E:\Documents\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 109, in svg_preprocess
return preprocess(inputs)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 1784, in preprocess
im = processing_utils.decode_base64_to_image(x)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\processing_utils.py", line 49, in decode_base64_to_image
exif = img.getexif()
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\PngImagePlugin.py", line 1040, in getexif
return super().getexif()
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 1454, in getexif
self._exif.load(exif_info)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 3670, in load
self._info = TiffImagePlugin.ImageFileDirectory_v2(self.head)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\TiffImagePlugin.py", line 504, in init
raise SyntaxError(msg)
SyntaxError: not a TIFF file (header b"b'Exif\x" not valid)
Traceback (most recent call last):
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 399, in run_predict
output = await app.get_blocks().process_api(
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1297, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1145, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "E:\Documents\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 109, in svg_preprocess
return preprocess(inputs)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 1784, in preprocess
im = processing_utils.decode_base64_to_image(x)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\processing_utils.py", line 49, in decode_base64_to_image
exif = img.getexif()
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\PngImagePlugin.py", line 1040, in getexif
return super().getexif()
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 1454, in getexif
self._exif.load(exif_info)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 3670, in load
self._info = TiffImagePlugin.ImageFileDirectory_v2(self.head)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\TiffImagePlugin.py", line 504, in init
raise SyntaxError(msg)
SyntaxError: not a TIFF file (header b"b'Exif\x" not valid)
Traceback (most recent call last):
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 399, in run_predict
output = await app.get_blocks().process_api(
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1297, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1145, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "E:\Documents\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 109, in svg_preprocess
return preprocess(inputs)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 1784, in preprocess
im = processing_utils.decode_base64_to_image(x)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\processing_utils.py", line 49, in decode_base64_to_image
exif = img.getexif()
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\PngImagePlugin.py", line 1040, in getexif
return super().getexif()
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 1454, in getexif
self._exif.load(exif_info)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 3670, in load
self._info = TiffImagePlugin.ImageFileDirectory_v2(self.head)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\TiffImagePlugin.py", line 504, in init
raise SyntaxError(msg)
SyntaxError: not a TIFF file (header b"b'Exif\x" not valid)
Traceback (most recent call last):
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 399, in run_predict
output = await app.get_blocks().process_api(
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1297, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1145, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "E:\Documents\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\utils.py", line 109, in svg_preprocess
return preprocess(inputs)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 1784, in preprocess
im = processing_utils.decode_base64_to_image(x)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\processing_utils.py", line 49, in decode_base64_to_image
exif = img.getexif()
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\PngImagePlugin.py", line 1040, in getexif
return super().getexif()
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 1454, in getexif
self._exif.load(exif_info)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 3670, in load
self._info = TiffImagePlugin.ImageFileDirectory_v2(self.head)
File "E:\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\PIL\TiffImagePlugin.py", line 504, in init
raise SyntaxError(msg)
SyntaxError: not a TIFF file (header b"b'Exif\x" not valid)
According to my experience and https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/11126, this problem seems to happen because:
the current webui saved some wrong information into the picure. so that it can not be properly read by other functions. In my case, I want to use the picture in ControlNet, and I found that only pictures generated by webui can not be used, other pictures work well. To solve your question, you can simply screenshot your picture to get a copy of it, and try.
It takes me two hours.
Is there an existing issue for this?
What happened?
controlnet refuses to see any images in control net
Steps to reproduce the problem
What should have happened?
Txt2Img or Img2Img should have recognized that the image was a jpeg and not a tiff and still worked?
I am having this problem on my google colab too.
Commit where the problem happens
webui: [5ab7f213] controlnet: [960d7221]
What browsers do you use to access the UI ?
No response
Command Line Arguments
List of enabled extensions
Console logs
Additional information
No response