lllyasviel / ControlNet

Let us control diffusion models!
Apache License 2.0
28.97k stars 2.62k forks source link

The size of weight #598

Open XiangjiBU opened 7 months ago

XiangjiBU commented 7 months ago

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'`