MCPcopy Create free account
hub / github.com/MotrixLab/insactor / __init__

Method __init__

diffplanner/datasets/pipelines/transforms.py:19–22  ·  view source on GitHub ↗
(self,
                 crop_size: Optional[Union[int, None]] = None)

Source from the content-addressed store, hash-verified

17 crop_size (int): The size of the cropped motion sequence.
18 """
19 def __init__(self,
20 crop_size: Optional[Union[int, None]] = None):
21 self.crop_size = crop_size
22 assert self.crop_size is not None
23
24 def __call__(self, results):
25 motion = results['motion']

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected