RoboSkillHub
Catalog / Tools
tool

dinov2

DINOv2 (facebook/dinov2-base or -small, Apache-2.0) embeddings of regions of one RGB frame - boxes or masks - as unit vectors (the patch tokens pooled under the mask, and the CLS token of the masked crop). Two regions' dot product says how alike they look, across frames and cameras. Use when a workflow must recognise a part by comparing it with a few labelled examples (which brick, which tile side), or match parts across views; skills/segmenting-small-parts-from-a-few-reference-photos keeps a memory bank of them.

Kind
Tool · perceive: finds and measures things in the scene
Robots
any robot
Tasks
domino lego jigsaw
Runs
in its own environment over stdio-msgpack, needs a GPU
Weights
hf://facebook/dinov2-base@f9e44c814b77203eaa57a6bdbbd535f21ede1415
Used by
segmenting-small-parts-from-a-few-reference-photos
License
Apache-2.0
Source
source on GitHub · SKILL.md · upstream code · https://arxiv.org/abs/2304.07193 · v0.1.0

Functions

dinov2.embed_regions DINOv2 unit embeddings of boxes or masks of one RGB frame ([mask-pooled patch tokens | CLS]).

Use it

Take this bundle (and the tools it calls) into a registry for your task, then point your policy generator at it:

git clone https://github.com/runtime-si/RoboSkillHub
cd RoboSkillHub && uv sync
uv run --no-sync roboskillhub search "dinov2 (facebook/dinov2-base or -small, apache-2.0)…" --why
uv run --no-sync roboskillhub view --bundles dinov2 --out my_registry

See Get started for searching by task and robot, locking what a policy uses, and fetching it on the robot.