MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / __init__

Method __init__

tools/preprocess/video_predictor.py:11–12  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

9
10class SAM2VideoPredictor(_SAM2VideoPredictor):
11 def __init__(self, *args, **kwargs):
12 super().__init__(*args, **kwargs)
13
14 @torch.inference_mode()
15 def init_state(self, video_path, offload_video_to_cpu=False, offload_state_to_cpu=False, async_loading_frames=False, frame_names=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected