Instructions to use piyohogeo/PreciseCam-middle-only with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use piyohogeo/PreciseCam-middle-only with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("piyohogeo/PreciseCam-middle-only") pipe = StableDiffusionControlNetPipeline.from_pretrained( "edurnebb/PreciseCam", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
| { | |
| "source": "input_models\\PreciseCam", | |
| "changed_parameters": [ | |
| "controlnet_down_blocks.0.weight", | |
| "controlnet_down_blocks.0.bias", | |
| "controlnet_down_blocks.1.weight", | |
| "controlnet_down_blocks.1.bias", | |
| "controlnet_down_blocks.2.weight", | |
| "controlnet_down_blocks.2.bias", | |
| "controlnet_down_blocks.3.weight", | |
| "controlnet_down_blocks.3.bias", | |
| "controlnet_down_blocks.4.weight", | |
| "controlnet_down_blocks.4.bias", | |
| "controlnet_down_blocks.5.weight", | |
| "controlnet_down_blocks.5.bias", | |
| "controlnet_down_blocks.6.weight", | |
| "controlnet_down_blocks.6.bias", | |
| "controlnet_down_blocks.7.weight", | |
| "controlnet_down_blocks.7.bias", | |
| "controlnet_down_blocks.8.weight", | |
| "controlnet_down_blocks.8.bias" | |
| ], | |
| "already_zero": false, | |
| "before": [ | |
| { | |
| "name": "controlnet_down_blocks.0.weight", | |
| "shape": [ | |
| 320, | |
| 320, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.009659647941589355, | |
| "mean_abs": 0.0013568317517638206, | |
| "l2_norm": 0.5576467514038086, | |
| "nonzero": 102400, | |
| "total": 102400 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.0.bias", | |
| "shape": [ | |
| 320 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.017097387462854385, | |
| "mean_abs": 0.0038673877716064453, | |
| "l2_norm": 0.08877145498991013, | |
| "nonzero": 320, | |
| "total": 320 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.1.weight", | |
| "shape": [ | |
| 320, | |
| 320, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.02466132864356041, | |
| "mean_abs": 0.003212143201380968, | |
| "l2_norm": 1.3395369052886963, | |
| "nonzero": 102400, | |
| "total": 102400 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.1.bias", | |
| "shape": [ | |
| 320 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.011422202922403812, | |
| "mean_abs": 0.0021497965790331364, | |
| "l2_norm": 0.048717159777879715, | |
| "nonzero": 320, | |
| "total": 320 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.2.weight", | |
| "shape": [ | |
| 320, | |
| 320, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.03576892614364624, | |
| "mean_abs": 0.00465616537258029, | |
| "l2_norm": 1.9198511838912964, | |
| "nonzero": 102400, | |
| "total": 102400 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.2.bias", | |
| "shape": [ | |
| 320 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.012725671753287315, | |
| "mean_abs": 0.003187209367752075, | |
| "l2_norm": 0.07170025259256363, | |
| "nonzero": 320, | |
| "total": 320 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.3.weight", | |
| "shape": [ | |
| 320, | |
| 320, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.022572720423340797, | |
| "mean_abs": 0.003516516648232937, | |
| "l2_norm": 1.4378397464752197, | |
| "nonzero": 102400, | |
| "total": 102400 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.3.bias", | |
| "shape": [ | |
| 320 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.01460300199687481, | |
| "mean_abs": 0.004289069212973118, | |
| "l2_norm": 0.09488490968942642, | |
| "nonzero": 320, | |
| "total": 320 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.4.weight", | |
| "shape": [ | |
| 640, | |
| 640, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.028062885627150536, | |
| "mean_abs": 0.0038122821133583784, | |
| "l2_norm": 3.1100692749023438, | |
| "nonzero": 409600, | |
| "total": 409600 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.4.bias", | |
| "shape": [ | |
| 640 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.012386691756546497, | |
| "mean_abs": 0.002479119226336479, | |
| "l2_norm": 0.0799410492181778, | |
| "nonzero": 640, | |
| "total": 640 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.5.weight", | |
| "shape": [ | |
| 640, | |
| 640, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.04693486541509628, | |
| "mean_abs": 0.004882414825260639, | |
| "l2_norm": 3.9671530723571777, | |
| "nonzero": 409600, | |
| "total": 409600 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.5.bias", | |
| "shape": [ | |
| 640 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.013653241097927094, | |
| "mean_abs": 0.002768043428659439, | |
| "l2_norm": 0.08707486093044281, | |
| "nonzero": 640, | |
| "total": 640 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.6.weight", | |
| "shape": [ | |
| 640, | |
| 640, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.05408790707588196, | |
| "mean_abs": 0.0029126701410859823, | |
| "l2_norm": 2.382589101791382, | |
| "nonzero": 409600, | |
| "total": 409600 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.6.bias", | |
| "shape": [ | |
| 640 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.010989760980010033, | |
| "mean_abs": 0.002393667586147785, | |
| "l2_norm": 0.07646098732948303, | |
| "nonzero": 640, | |
| "total": 640 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.7.weight", | |
| "shape": [ | |
| 1280, | |
| 1280, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.025219351053237915, | |
| "mean_abs": 0.0033372831530869007, | |
| "l2_norm": 5.401866436004639, | |
| "nonzero": 1638400, | |
| "total": 1638400 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.7.bias", | |
| "shape": [ | |
| 1280 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.009630500338971615, | |
| "mean_abs": 0.0020107252057641745, | |
| "l2_norm": 0.09052682667970657, | |
| "nonzero": 1280, | |
| "total": 1280 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.8.weight", | |
| "shape": [ | |
| 1280, | |
| 1280, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.01982780173420906, | |
| "mean_abs": 0.0030982820317149162, | |
| "l2_norm": 4.9888763427734375, | |
| "nonzero": 1638400, | |
| "total": 1638400 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.8.bias", | |
| "shape": [ | |
| 1280 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.009334372356534004, | |
| "mean_abs": 0.0017996130045503378, | |
| "l2_norm": 0.08119886368513107, | |
| "nonzero": 1280, | |
| "total": 1280 | |
| } | |
| ], | |
| "after": [ | |
| { | |
| "name": "controlnet_down_blocks.0.weight", | |
| "shape": [ | |
| 320, | |
| 320, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 102400 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.0.bias", | |
| "shape": [ | |
| 320 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 320 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.1.weight", | |
| "shape": [ | |
| 320, | |
| 320, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 102400 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.1.bias", | |
| "shape": [ | |
| 320 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 320 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.2.weight", | |
| "shape": [ | |
| 320, | |
| 320, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 102400 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.2.bias", | |
| "shape": [ | |
| 320 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 320 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.3.weight", | |
| "shape": [ | |
| 320, | |
| 320, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 102400 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.3.bias", | |
| "shape": [ | |
| 320 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 320 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.4.weight", | |
| "shape": [ | |
| 640, | |
| 640, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 409600 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.4.bias", | |
| "shape": [ | |
| 640 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 640 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.5.weight", | |
| "shape": [ | |
| 640, | |
| 640, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 409600 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.5.bias", | |
| "shape": [ | |
| 640 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 640 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.6.weight", | |
| "shape": [ | |
| 640, | |
| 640, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 409600 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.6.bias", | |
| "shape": [ | |
| 640 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 640 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.7.weight", | |
| "shape": [ | |
| 1280, | |
| 1280, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 1638400 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.7.bias", | |
| "shape": [ | |
| 1280 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 1280 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.8.weight", | |
| "shape": [ | |
| 1280, | |
| 1280, | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 1638400 | |
| }, | |
| { | |
| "name": "controlnet_down_blocks.8.bias", | |
| "shape": [ | |
| 1280 | |
| ], | |
| "dtype": "float32", | |
| "max_abs": 0.0, | |
| "mean_abs": 0.0, | |
| "l2_norm": 0.0, | |
| "nonzero": 0, | |
| "total": 1280 | |
| } | |
| ] | |
| } | |