PreciseCam middle-only

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.

Usage

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.

License

The source model is distributed under the MIT license. See the source model repository for its license and attribution details.

Downloads last month
5
Safetensors
Model size
1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for piyohogeo/PreciseCam-middle-only

Adapter
(1)
this model