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

Method __call__

datasets/bucket_config.py:375–381  ·  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

373 self.frame_grading_arr = np.arange(frame_grading_num) * 4 + 1
374
375 def __call__(self, n_frame: int, height: int, width: int,
376 rnd_state: np.random.RandomState) -> Any:
377 tgt_h, tgt_w = self.preprocess(n_frame, height, width, rnd_state)
378 flop = FlopEstimator2D1DNotExact(n_frame, tgt_h, tgt_w,
379 self.pixel_grading_arr,
380 self.frame_grading_arr)
381 return flop
382
383
384class BucketConfig3AR(BucketConfigFromSideList):

Callers

nothing calls this directly

Calls 2

preprocessMethod · 0.80

Tested by

no test coverage detected