MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / __init__

Method __init__

src/diffusers/image_processor.py:666–673  ·  view source on GitHub ↗
(
        self,
        do_resize: bool = True,
        vae_scale_factor: int = 8,
        resample: str = "lanczos",
        do_normalize: bool = True,
    )

Source from the content-addressed store, hash-verified

664
665 @register_to_config
666 def __init__(
667 self,
668 do_resize: bool = True,
669 vae_scale_factor: int = 8,
670 resample: str = "lanczos",
671 do_normalize: bool = True,
672 ):
673 super().__init__()
674
675 @staticmethod
676 def numpy_to_pil(images: np.ndarray) -> List[PIL.Image.Image]:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected