MCPcopy Create free account
hub / github.com/CompVis/zigma / __call__

Method __call__

datasets/video_utils.py:340–343  ·  view source on GitHub ↗
(self, clip)

Source from the content-addressed store, hash-verified

338 self.interpolation_mode = interpolation_mode
339
340 def __call__(self, clip):
341 clip_random_crop = random_shift_crop(clip)
342 clip_resize = resize(clip_random_crop, self.size, self.interpolation_mode)
343 return clip_resize
344
345
346class CenterCropVideo:

Callers

nothing calls this directly

Calls 2

random_shift_cropFunction · 0.85
resizeFunction · 0.85

Tested by

no test coverage detected