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

Method __init__

diffplanner/datasets/pipelines/transforms.py:60–66  ·  view source on GitHub ↗
(self,
                 min_size: Optional[Union[int, None]] = None,
                 max_size: Optional[Union[int, None]] = None)

Source from the content-addressed store, hash-verified

58 max_size (int or None): The maximum size of the cropped motion sequence (inclusive).
59 """
60 def __init__(self,
61 min_size: Optional[Union[int, None]] = None,
62 max_size: Optional[Union[int, None]] = None):
63 self.min_size = min_size
64 self.max_size = max_size
65 assert self.min_size is not None
66 assert self.max_size is not None
67
68 def __call__(self, results):
69 motion = results['motion']

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected