MARCO

Auto search for keypoint detection.

Keypoint DetectionApache-2.0
Recommended6/10
VRAM1.3 GBweights, plus ~0.5 GB reserve
Tools1across 1 annotation type
Runs onmacOSCUDACPU4 of 4 runtime profiles

Install

boat model install marco

Installs marco:ap-spair with 1.3 GB of weights into an isolated runtime.

Tools

What MARCO adds to the annotation editor. Each example loops what you do and what comes back.

Auto search example on keypoint detection

Auto search

BoxKeypoints

Keypoint Detection

Draw one or more boxes to segment exactly those objects.

  • Apply

Tags

Each tag is an installable variant, such as a size or quantization, with its own weights.

TagWeightsPlatformsInstall
marco:ap-spairdefault1.3 GB · 2 filesmacOSCUDACPU

Platforms

BOAT picks the runtime profile that matches your machine. Only that profile's code is downloaded.

macOS · Metal

Apple silicon (MPS)

Python 3.11 · 47 KB

Linux · CUDA 12.8

NVIDIA, incl. Blackwell

Python 3.11 · 48 KB

Linux · CUDA 12.6

NVIDIA GPUs

Python 3.11 · 48 KB

Linux · CPU

x86_64 CPU

Python 3.11 · 46 KB

License

BOAT's adapter code is Apache-2.0. The model's own code and weights keep their upstream license:Apache-2.0.

Bundled license files: BOAT-APACHE-2.0.txt, NOTICE.md, UPSTREAM-LICENSE-DINOV2.txt, UPSTREAM-LICENSE-MARCO.txt

Package details

Package
marco
Version
0.0.5
Type
Common model
BOAT Core
≥ 0.1.0 · < 1.0.0
Inference timeout
600s
Manifest SHA-256
16e72a8c0106aab2a0bf639c2beb2ed69331aea7a9d076c4b4e4cf580028c181
Upstream notice
BOAT adapter code is Apache-2.0. Upstream model code and weights keep their own licenses.

Model: marco
- MARCO (https://github.com/visinf/MARCO), Apache-2.0: UPSTREAM-LICENSE-MARCO.txt
- DINOv2 (https://github.com/facebookresearch/dinov2), Apache-2.0: UPSTREAM-LICENSE-DINOV2.txt

Pinned weight provenance is in ../weights/<tag>/weights.json and vendored code revisions in
../models/<platform>/vendor/UPSTREAM_REVISION.

Local changes to vendored code:
- MARCO is vendored as the `marco` package (models/, util/geometry.py, configs/model/marco.yaml).
  Its `from models.` / `from util.` imports read `from marco.models.` / `from marco.util.`, because
  the package root's models/ directory would otherwise shadow them.
- DINOv2 keeps only the backbone code (hub/backbones.py, hub/utils.py, models/, layers/).
  The backbone weights are read from the installed weights instead of torch.hub.
- macos-metal only: DINOv2 `interpolate_pos_encoding` runs on the CPU and caches the result per grid size,
  because MPS has no antialiased bicubic kernel (`aten::_upsample_bicubic2d_aa`). The other platforms keep upstream code.
- macos-metal only: `MARCO.sample_descriptors` clamps the sampling grid to [-1, 1] and calls `grid_sample` with
  `padding_mode='zeros'` instead of `'border'` (identical for `align_corners=True`), because MPS does not support border padding.
  It also passes `fmaps.contiguous()`, because MPS `grid_sample` returns wrong values for the channels-last `fmaps[:, i]` view.
Runtime dependencies are installed from pinned distributions with their own license files.
↑↓ navigate↵ open