lllyasviel / lllyasviel/ControlNet

Preprocessing error with ControlNet in Stable Diffusion AUTOMATIC1111 webui

Open
#449 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
34.1k
Forks
3k
PR merge metrics
No merged PRs in 30d

Description

I am using Stable Diffusion AUTOMATIC1111 webui with ControlNet and I encounter an error that I don’t know how to fix. The error happens when I try to add an image to ControlNet for preprocessing. Most of the time, the preprocessing fails and I get a black preview instead of the image. Then, ControlNet gives me an “AttributeError: ‘NoneType’ object has no attribute ‘rsplit’” message. I have to try many different images before one of them works. This is very frustrating and it seems to be getting worse. I have attached a screenshot of the error below. Is this a bug or something wrong with my installation? Please help me solve this problem. Thank you.
image
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing ControlNet preprocessing with images that produce the black preview, then use the attached screenshots and the reported AttributeError to locate the failing preprocessing entry point. Check whether the failure depends on the image or installation; done means affected images preprocess successfully without the NoneType error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.