Logo: Detecting Parts From Exemplars Sam3

Detecting Parts From Exemplars Sam3

Organisatioun
runtime-si
detecting-parts-from-exemplars-sam3

Finds every part that looks like a few example boxes in a camera frame - and, unlike owlv2's one-box search, not like a few negative boxes - with SAM 3's visual-exemplar prompts (sam3.detect_like), returning a box, score and mask per part and the count. Use when a graph has one or more boxed examples of a part (from a detector, a click, an earlier step) and needs all its copies, optionally excluding a look-alike part it has also boxed.

Iwwersiicht

Editeurruntime-si
RepositoryRoboSkillHub
Skill-Nummdetecting-parts-from-exemplars-sam3
Stären
242
Forks
27
Matgeliwwert Dateien
2
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    runtime-si huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Detecting Parts From Exemplars Sam3 an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/detecting-parts-from-exemplars-sam3
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/runtime-si/RoboSkillHub.git /tmp/RoboSkillHub
mkdir -p .claude/skills
cp -r /tmp/RoboSkillHub/skills/detecting-parts-from-exemplars-sam3 .claude/skills/detecting-parts-from-exemplars-sam3
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Detecting Parts From Exemplars Sam3 an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Detecting Parts From Exemplars Sam3 automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Detecting Parts From Exemplars Sam3 net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

detecting-parts-from-exemplars-sam3

Give it boxes around one or more examples of a part (exemplar_boxes, pixels in camera's frame), optionally boxes around parts it must not return (negative_boxes) and a noun phrase (text). It returns a box, score and mask for every other part SAM 3 finds like the examples, and the count. The exemplars themselves are left out.

SAM 3's promptable concept segmentation takes box exemplars as positive or negative visual prompts; without text, the tool passes the placeholder phrase "visual" as upstream does for exemplar-only prompts.

Why not PiDiViT

This was meant to port PiDiViT (ICCV 2025, Apache-2.0). Its repository publishes no PiDiViT weights; its README points to DE-ViT's checkpoints (Google Drive, not on Hugging Face) and it builds on detectron2, which is why DE-ViT itself was skipped. SAM 3 is the few-shot exemplar detector here with public weights the hub already uses.

How it composes

  • Before it: a box on one or more examples. owlv2.detect or mm-grounding-dino with a text prompt, a pointing VLM + sam3.segment_point, or an operator click.
  • After it: the masks go to grasp proposals directly; to name which kit part each one is, segmenting-small-parts-from-a-few-reference-photos classifies masks against labelled references (it labels, this finds).
  • Instead of it: detecting-all-like-exemplar (owlv2 / GeCo exemplar search, boxes only, no negative prompts).

Measured

Setup (2026-11-30, pool host gcp1397, RTX PRO 6000; sam3.pt from the ModelScope mirror): the target-part eval set of tools/README.md, built by its scripts. 57 MuJoCo renders on real station backgrounds (37 overhead at ~1 m, 20 wrist; generator seeds 30 20 7) and 40 PuzzleMap jigsaw photos (317 pieces). Same protocol as owlv2-like: for each class in an image, the largest labelled instance is the exemplar (3-shot: the three largest, when the class has more than three), searched in its own image; a hit is IoU >= 0.5 with another instance of that class. "Other-class hits" are boxes on a part of another class (a brick exemplar matching a domino); "false boxes" match no part. Run with tests/bundles/_target_parts_eval.py sam3-like and _target_parts_score.py.

set, class (instances)sam3, 1 box, floor 0.5sam3, 1 box, 0.85owlv2.detect_like, 0.85 (its default)owlv2, 0.7
overhead LEGO (62)82 %, 1 false box / 26 searches2 %, 048 %, 1494 %, 647
overhead DUPLO (22)95 %, 0 / 129 %, 077 %, 1100 %, 138
overhead domino (38)87 %, 1 / 1911 %, 050 %, 297 %, 313
wrist LEGO / DUPLO / domino (4 / 1 / 5)100 / 100 / 100 %, 00 %50 / 100 / 60 %, 0100 %, 44
jigsaw pieces (317)100 %, 12 false boxes / 40 photos99 %, 0100 %, 1100 %, 262
  • Overhead, SAM 3 at 0.5 finds 82-95 % of the copies with about one false box per 20 searches; owlv2 at its 0.85 default finds 48-77 %, and lowering owlv2 to 0.7 to match the recall gives hundreds of false boxes.
  • SAM 3's scores sit lower than owlv2's: the floor is not shared. 0.5 on bricks and dominoes; 0.85 on the jigsaw photos (at 0.5 the mat edges give 12 false boxes over 40 photos).
  • 3 exemplars (classes with more than 3 instances: 16 LEGO, 4 DUPLO, 7 domino left to find) did not beat 1 at 0.5 (75 / 100 / 86 %); they help above 0.6 (LEGO 0.7: 50 % against 34 %).
  • Neither tells the kinds apart overhead. At 0.5 a LEGO exemplar also boxed 80 parts of the other classes over 26 searches (owlv2 0.85: 23 at much lower recall). To name which part each box is, pass the masks to segmenting-small-parts-from-a-few-reference-photos (its own eval: kind accuracy 0.59 at 1 reference, 0.72 at 5, from ground-truth masks), or give the look-alike as a negative_boxes exemplar (not measured here).
  • Time per search 0.075 s median (owlv2 0.035 s); peak GPU memory 4.5 GB.
  • Renders and photos only; no real-station frames were run.

Weights and licence

facebook/sam3 is gated on Hugging Face. The pool GPU hosts have no HF token, so GAP_SAM3_CHECKPOINT points the sam3 tool at a local sam3.pt: the eval used the public ModelScope mirror (https://www.modelscope.cn/models/facebook/sam3/resolve/master/sam3.pt, 3,450,062,241 bytes). SAM 3's weights and code are under Meta's SAM License, as for the existing sam3 tool. This skill's script is the hub's own code (Apache-2.0).

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Detecting Parts From Exemplars Sam3?

Finds every part that looks like a few example boxes in a camera frame - and, unlike owlv2's one-box search, not like a few negative boxes - with SAM 3's visual-exemplar prompts (sam3.detect_like), returning a box, score and mask per part and the count. Use when a graph has one or more boxed examples of a part (from a detector, a click, an earlier step) and needs all its copies, optionally excluding a look-alike part it has also boxed.

Firwat Detecting Parts From Exemplars Sam3 op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Detecting Parts From Exemplars Sam3 besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Detecting Parts From Exemplars Sam3 an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/runtime-si/RoboSkillHub/tree/main/skills/detecting-parts-from-exemplars-sam3 an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Detecting Parts From Exemplars Sam3 benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Detecting Parts From Exemplars Sam3 benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Detecting Parts From Exemplars Sam3 domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Detecting Parts From Exemplars Sam3 gratis?

Jo. runtime-si huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇