Repository navigation
v1.0.23
Training
- Cloud training runs on an L40S at batch 128 by default, the fastest per dollar in our benchmarks. The epoch cap uses measured per-GPU speeds.
- Every run fine-tunes the deployed model's weights on the whole dataset for the full 120-epoch schedule and keeps its best epoch. A deployed run becomes the next starting point. A training job can also train a fresh model alongside and keep whichever scores better on the exam.
- Blur and dark training copies are written only while a setup has under 3,000 labeled frames (setting: auto, all, one, off).
- Training saves checkpoints at epochs 40 and 80, and the report scores them on the exam beside the final model.
- New models export at the camera's 640x480: about 30% faster detection on the Pi with the same exam score. Scoring and the jury run each model at its own input shape.
Schedule
- Labeling runs weekly and always before training. Training runs every two weeks, right after a labeling pass, once there are 1,000 new hand plus auto labels.
Labeling
- A dog is auto-labeled only when both models see it, and it trains on the big model's box. When only the deployed model is sure of a dog, the frame is flagged Disputed for a human.
- The big model labels in batches of 16, and the jury runs across many cloud containers at once.
- Machine boxes reach the label page even when an earlier pass died before sending them.
- Empty or corrupt frame files left by a power cut are skipped.
Cloud runs
- Storage moved to a Modal v2 volume with frames in day folders. Frame reads went from about 5-14 per second to over 1,000.
- Cloud runs keep going if the Pi loses its connection, and the Pi collects the result afterwards.
- Uploads are sized by bytes, and the Pi applies results in batches of 1,000 frames at low priority.
- Every log reports timing and throughput.
- NCNN scoring in the cloud uses the container's CPU allowance. It used to start one thread per host core and throttle the container, which stalled post-training scoring and the container's heartbeats.
September fixes (PR #1)
- Modal file-count hygiene, per-kind failure backoff with a failure banner, trainer priority so training passes don't drag detector FPS, FPS work (clip encoding off the detect loop, one MJPEG encode per frame, camera 10 fps cap, smoothed FPS readout), the event-driven dataset index, a 0.85 alarm-confidence ceiling, settings.json for live tunables with a change log, and the model installer refusing macOS
._files.
No dependency changes (uv.lock unchanged), so the Pi self-updates.