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

Method __init__

datasets/video_utils.py:199–203  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

197
198class RandomCropVideo:
199 def __init__(self, size):
200 if isinstance(size, numbers.Number):
201 self.size = (int(size), int(size))
202 else:
203 self.size = size
204
205 def __call__(self, clip):
206 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected