Downloads · 30 days
6
40% of all-time downloads
piyohogeo/PreciseCam-middle-only
PreciseCam-middle-only is a image-to-image model from piyohogeo. Use it when you need one image transformed into another. It is set up for diffusers. The card lists the license as mit.
This is a converted version of edurnebb/PreciseCam for standard Diffusers.
Downloads · 30 days
6
40% of all-time downloads
All-time downloads
15
Public
Parameters
1.3B
5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5 GB · 100%
From the Hugging Face model README
This is a converted version of edurnebb/PreciseCam for standard Diffusers.
The final 1x1 convolution of each ControlNet down-block residual projection is zeroed. The mid-block residual and the ControlNet backbone are unchanged. This bakes behavior equivalent to middle_res_only=True into the checkpoint, without requiring a Diffusers fork or monkey patch.
import torch
from diffusers import ControlNetModel
controlnet = ControlNetModel.from_pretrained(
"piyohogeo/PreciseCam-middle-only",
torch_dtype=torch.float16,
)
The checkpoint uses the standard Diffusers ControlNetModel layout. PreciseCam's expected PF-US conditioning image is still required.
Conversion details and before/after parameter statistics are recorded in middle_only_conversion.json. The conversion and validation tools are available at piyohogeo/precisecam_middle_only.
The source model is distributed under the MIT license. See the source model repository for its license and attribution details.