[Bug]: AttributeError: 'NoneType' object has no attribute 'split'
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
After I upgrade to the 2.0 UI, the inpaint mask function cannot be used. Any model will report the same error. AttributeError: 'NoneType' object has no attribute 'split'
Steps to reproduce the problem
Sorry, I'm not a programmer, I updated the UI program normally.
What should have happened?
Will output normally
Commit where the problem happens
img2img inpaint mask
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
LatentDiffusion: Running in v-prediction mode
DiffusionWrapper has 865.91 M params.
Loading weights [2c02b20a] from C:\stable-diffusion-webui\models\Stable-diffusion\768-v-ema.ckpt
Applying cross attention optimization (Doggettx).
Model loaded.
Traceback (most recent call last):
File "C:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 284, in run_predict
output = await app.blocks.process_api(
File "C:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 980, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "C:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 891, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "C:\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 1374, in preprocess
mask_im = processing_utils.decode_base64_to_image(mask)
File "C:\stable-diffusion-webui\venv\lib\site-packages\gradio\processing_utils.py", line 45, in decode_base64_to_image
content = encoding.split(";")[1]
AttributeError: 'NoneType' object has no attribute 'split'
Additional information, context and logs
No response
Getting the same issue
么,收到此条消息,证明我的代理已经帮我收到来信啦。
Getting the same issue
么,收到此条消息,证明我的代理已经帮我收到来信啦。
Was this solved? I cannot inpaint either.
么,收到此条消息,证明我的代理已经帮我收到来信啦。
With the latest version, the startup arg "--opt-split-attention-v1" was causing the same issue. I removed it from the startup and I can use inpaint now. Don't know the reason tho 🤷♂️
么,收到此条消息,证明我的代理已经帮我收到来信啦。
Closing as stale.
么,收到此条消息,证明我的代理已经帮我收到来信啦。
You can find the solution here, so why don't you try it?
I modified ControlNet to v1.1.14, the latest version, and it became unusable due to an error. ControlNetを最新版のv1.1.14にしたらエラーが出て使えなくなったので改修した
么,收到此条消息,证明我的代理已经帮我收到来信啦。