MCPcopy Create free account
hub / github.com/AlayaLab/Hive / __init__

Method __init__

models/flowsep/diffusers/image_processor.py:46–53  ·  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

44
45 @register_to_config
46 def __init__(
47 self,
48 do_resize: bool = True,
49 vae_scale_factor: int = 8,
50 resample: str = "lanczos",
51 do_normalize: bool = True,
52 ):
53 super().__init__()
54
55 @staticmethod
56 def numpy_to_pil(images):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected