Pi 5 inference benchmark of the candidate detectors
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python, raspberry-pi
Research direction
Start with the YOLO detector work in pyronear/roadmap#10 and the temporal model referenced in pyronear/roadmap#2. Benchmark model sizes n, s, and m across 640 and 1024 inputs and NCNN and ONNX exports on the Pi 5. Done means recording inference time and memory in a table and writing the biggest usable model size in the epic.
Written by the indexing model from the issue text.
Description
This issue is part of the epic pyronear/roadmap#10 (Challenge our YOLO detector).
Second step of the epic: write a script that measures inference time and memory on the Pi 5 for each candidate of pyronear/vision-rd#140, so we only train the models that can run in the detection loop.
- Export each candidate to the formats usable on the Pi (NCNN for YOLO, ONNX for the DETR models) at 640 and 1024 px, from COCO weights: no training is needed to measure speed.
- Run the script on a Pi 5 with the production runtime (same ncnn / onnxruntime versions as pyro-engine) and report latency (median, p95) and peak memory, by model, size, input size and format.
- Measure it together with the temporal model, which will also run on the Pi (pyronear/roadmap#2).
- Select the candidates that fit the budget of the detection loop and write the biggest usable size in the epic.
Done when
- Benchmark script in vision-rd, runnable on the Pi 5
- Table of inference time and memory on the Pi 5, by model, size, input size and format
- Selection of the models to train written, biggest usable size written in the epic
Theme Computer Vision · Priority P3 · Period T1-27
- Dominant language
- Python
- Stars
- 0
- Forks
- 4
- Avg merge
- 8d 21h
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pyronear/vision-rd
-
computer-vision help wanted P1 T4-26 task
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
computer-vision help wanted P1 T4-26 task
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
type: bug
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
dataset help wanted P1 T4-26 task
Difficulty 4/5 3-5 days Newbie friendliness 18/100
-
computer-vision help wanted P1 T4-26 task
Difficulty 5/5 Over a week Newbie friendliness 8/100
All issues in pyronear/vision-rd
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
software-mansion-labs/Diplomat#20 ·
Maintainers usually reply within 1 day
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaPossibly taken @lijy91 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
libnativeapi/nativeapi#53 · 1 reaction ·
Maintainers usually reply within 1 day
-
View Counts discarded due to field name mismatchPossibly taken @rsiva0400 claimed this today. Opensite-bug triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Model version publishes the new UK firm entity as a personPossibly taken @vahid-ahmadi claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PolicyEngine/policyengine.py#764 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
spcl/HPCAgent-Bench#264 ·
Maintainers usually reply within 1 day