Logo di Detecting Parts From Exemplars Sam3

Detecting Parts From Exemplars Sam3

Organizzazione
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.

Panoramica

Pubblicato daruntime-si
RepositoryRoboSkillHub
Nome della skilldetecting-parts-from-exemplars-sam3
Stelle
242
Fork
27
File inclusi
2
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 2

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da runtime-si su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Detecting Parts From Exemplars Sam3 in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/detecting-parts-from-exemplars-sam3
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Detecting Parts From Exemplars Sam3 in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Detecting Parts From Exemplars Sam3 non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Detecting Parts From Exemplars Sam3 non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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).

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Detecting Parts From Exemplars Sam3 su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Detecting Parts From Exemplars Sam3 è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Detecting Parts From Exemplars Sam3 in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/runtime-si/RoboSkillHub/tree/main/skills/detecting-parts-from-exemplars-sam3. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Detecting Parts From Exemplars Sam3?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Detecting Parts From Exemplars Sam3?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Detecting Parts From Exemplars Sam3: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Detecting Parts From Exemplars Sam3 è gratuita?

Sì. È pubblicata su GitHub da runtime-si con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇