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

Function get_backbone

flowmap/model/backbone/__init__.py:13–18  ·  view source on GitHub ↗
(
    cfg: BackboneCfg,
    num_frames: int | None,
    image_shape: tuple[int, int] | None,
)

Source from the content-addressed store, hash-verified

11
12
13def get_backbone(
14 cfg: BackboneCfg,
15 num_frames: int | None,
16 image_shape: tuple[int, int] | None,
17) -> Backbone:
18 return BACKBONES[cfg.name](cfg, num_frames, image_shape)

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected