MCPcopy Create free account
hub / github.com/MotrixLab/ViMoGen / __call__

Method __call__

datasets/bucket_config.py:261–264  ·  view source on GitHub ↗
(self, n_frame: int, height: int, width: int,
                 rnd_state: np.random.RandomState)

Source from the content-addressed store, hash-verified

259 return h, w
260
261 def __call__(self, n_frame: int, height: int, width: int,
262 rnd_state: np.random.RandomState) -> Any:
263 tgt_h, tgt_w = self.preprocess(n_frame, height, width, rnd_state)
264 return self.flop(n_frame, tgt_h, tgt_w)
265
266
267class BucketConfigHardCoded1(BucketConfig):

Callers

nothing calls this directly

Calls 1

preprocessMethod · 0.95

Tested by

no test coverage detected