lllyasviel / lllyasviel/ControlNet

Questions about guess_mode and control_scales

Open
#722 0 comments 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

The first question is what is the purpose for users of using guess_mode.

The second question is about the code related to guess_mode.
In the main code, setting guess_mode=True will set un_cond["c_concat"]=None, and generate increasing control_scales from 0.0001 to 0.01 up to down.

https://github.com/lllyasviel/ControlNet/blob/main/gradio_canny2image.py#L46
https://github.com/lllyasviel/ControlNet/blob/main/gradio_canny2image.py#L52C3-L52C4

What effect will be introduced by such settings?

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

Read gradio_canny2image.py around lines 46 and 52, then trace how guess_mode changes un_cond["c_concat"] and control_scales. Document the user-facing purpose and the effect of these settings, with enough context for the behavior to be understood from the project documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Documentation
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.