lllyasviel / lllyasviel/ControlNet

The size of weight

Open
#598 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

I trained controlnet use custom data, after convert to '.pth', I found the weight size is 5.7GB (I use Ubuntu22.04). but I realize the weight in 'sd-webui-controlnet' is about 1.45G. What makes this difference?
is 'tool_transfer_control.py' used to convert the weight from 5.7GB to 1.45GB ? if so, whatis th mean of 'path_input' in 'tool_transfer_control.py'
`path_input` = './models/anything-v3-full.safetensors'`

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 with tool_transfer_control.py and trace how the path_input value './models/anything-v3-full.safetensors' is read and used. Document whether this entry point handles the reported weight conversion and clarify the meaning of path_input; done means the size difference and conversion workflow are explained from the existing tool behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.