lllyasviel / lllyasviel/stable-diffusion-webui-forge

how to use controlnet on flux

Open
#1,685 18 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I use 'flux1-schnell.safetensors ' at models/Stable-diffusion and use 'flux-canny-controlnet.safetensors' at modes/ControlNet
but when I run txt2img ,it occurs error as :ERROR - Recognizing Control Model failed: /AISD/stable-diffusion-webui-forge/models/ControlNet/flux-canny-controlnet.safetensors
AssertionError: None
![微信截图_20240904153138](https://github.com/user-attachments/assets/61d8aa06-c780-420a-b2ac-0afb99191923)

thank you!

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 the txt2img run with the two model paths shown in the issue and read the ControlNet recognition error. Check the referenced models/Stable-diffusion and models/ControlNet locations and the surrounding ControlNet model-loading entry point. Done means determining why flux-canny-controlnet.safetensors is rejected and documenting or verifying a working configuration.

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.