Run this model with HF Jobs
Run pollen-robotics/microduck-person-detector on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/pollen-robotics/microduck-person-detector. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/pollen-robotics/microduck-person-detector on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use pollen-robotics/microduck-person-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use pollen-robotics/microduck-person-detector with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("pollen-robotics/microduck-person-detector", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Microduck
How to use pollen-robotics/microduck-person-detector with Microduck:
# Replace SLOT with the slot specified in the model card (walk, stand, sitstand, ground_pick, kick_left, kick_right, roulade). sudo robotctl policy load SLOT pollen-robotics/microduck-person-detector
- Notebooks
- Google Colab
- Kaggle
Microduck person detector
Finds people in a Microduck's camera. Ultralytics' COCO-pretrained yolo11n, not retrained:
the head's class branch is cut to its person channel, so the output is [1, 5, N] (cx, cy, w, h,
score) β the duck detector's layout β and the robot runs it with the same code. 320Γ320
letterboxed RGB input. Made by scripts/person_onnx.py in
pollen-robotics/duck_detector and run on the
robot by duck-detect in pollen-robotics/microduck.
person_detect.rknn is INT8 for the RK3566's NPU, quantised against frames from a Microduck's
camera; on the simulator it keeps 97% of the float model's people. .onnx is the float model
(static shapes, opset 12), .pt the cut-down checkpoint. ~22 ms a look on the NPU.
It calls distant Microducks "person" (0.35β0.66): a walking duck is humanoid enough for COCO. Close ones it does not. A consumer that also runs the duck detector should prefer the duck.
The weights are Ultralytics' YOLO11, under AGPL-3.0.
- Downloads last month
- 146