MCPcopy Create free account
hub / github.com/dcharatan/flowmap / TrackPredictor

Class TrackPredictor

flowmap/tracking/track_predictor.py:23–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22
23class TrackPredictor(nn.Module, ABC, Generic[T]):
24 def __init__(self, cfg: T) -> None:
25 super().__init__()
26 self.cfg = cfg
27
28 @abstractmethod
29 def forward(
30 self,
31 videos: Float[Tensor, "batch frame 3 height width"],
32 query_frame: int,
33 ) -> Tracks:
34 pass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected