MCPcopy Create free account
hub / github.com/CompVis/diff2flow / __init__

Method __init__

diff2flow/dataset/image_preprocessing.py:20–22  ·  view source on GitHub ↗
(self, divisor, exclude_keys=None)

Source from the content-addressed store, hash-verified

18
19class RescaleDiffusersLatent:
20 def __init__(self, divisor, exclude_keys=None):
21 self.divisor = divisor
22 self.exclude_keys = exclude_keys or []
23
24 def __call__(self, sample):
25 for k, v in sample.items():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected