lllyasviel / lllyasviel/ControlNet
The size of weight
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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