Skip to content

Releases

v1.0.26

Choose a tag to compare

@devjerry0 devjerry0 released this 01 Nov 19:16
eb77700

The Pi now records every WiFi drop and brings itself back, so a dead WiFi connection should no longer need a power cycle.

  • WiFi watchdog. doggy-netwatch pings the router every 20 seconds. After about a minute without an answer it writes an incident file to /var/log/doggy-netwatch/ that survives a reboot. Then it recovers by itself: radio toggle, node re-pick, driver reload, and a reboot at most once an hour. The incident file names the step the network came back after.
  • Mesh node lock. The Pi locks to the mesh node it connects to, so it stops switching between nodes with similar signal. Re-pick WiFi node on the dashboard locks it to the strongest 5 GHz node in range after you move the Pi or a node.
  • Updates. deploy-to-pi.sh installs the watchdog, and the watchdog restarts itself when a self-update changes its script. A Pi deployed before this release gets the watchdog with its next deploy-to-pi.sh.

No dependency changes, so the Pi self-updates.

v1.0.25

Choose a tag to compare

@devjerry0 devjerry0 released this 13 Oct 16:58
fc043b0

The big labeling model can now learn this kitchen, and the label page shows you the labels a model doubts.

  • Train labeler. A button on the training page fine-tunes yolo26x on your hand labels plus agreed auto-labels. The new labeler is swapped in only when it beats the current one on the hand-labeled exam. A swap relabels every frame and re-judges every auto-label once.
  • The first fine-tuned labeler is in place. It is epoch 67 of a run that stopped when the Modal credits ran out. On the exam it makes 27 errors where stock yolo26x makes 98. It sees a dog in 5,332 of the 5,668 frames that were flagged Disputed because stock yolo26x missed the dog.
  • Disputed view. Your own labels a model doubts are listed first, and a frame leaves the view once both models agree on it. The labeler job flags the exam labels it doubts.
  • Dead cloud runs. A cloud run that dies without a result now fails its job within about two minutes. Before, the trainer could wait up to 20 hours with every other job queued behind it.

No dependency changes, so the Pi self-updates.

v1.0.24

Choose a tag to compare

@devjerry0 devjerry0 released this 12 Oct 18:15
f148c12

Training now improves the detector the Pi actually runs.

The Pi runs YOLO26 through NCNN, which cannot use YOLO26's end-to-end head and ships the classic one instead. YOLO26's training phases that classic head out over a long run, so Oct 11's 120-epoch run looked fine in PyTorch but lost the deployment gate. Training now builds the model without the end-to-end head, so the whole run trains the head that ships, and the training report scores that same head.

First run with the fix (deployed Oct 12): on the hand-labeled exam at the 0.6 alarm threshold it catches 173 of 190 dog frames against 165 for the previous model, with 9 false fires against 8. Missed dogs drop by about a third, and the gap widens at higher thresholds (160 vs 142 at 0.7).

No dependency changes, so the Pi self-updates.

v1.0.23

Choose a tag to compare

@devjerry0 devjerry0 released this 12 Oct 01:16
8e4b858

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.

v1.0.22

Choose a tag to compare

@devjerry0 devjerry0 released this 26 Aug 13:26

Credit gate: the trainer refuses to start Modal jobs (train/prelabel) once monthly credits are spent or anything has been billed beyond them, and stops auto-scheduling cloud jobs until the cycle resets. Self-updates still run. Missing billing data fails open. Budget card shows a paused notice.

v1.0.21

Choose a tag to compare

@devjerry0 devjerry0 released this 26 Aug 13:15

Model card threshold fix, final: read the threshold from the gate block (always recorded) before top-level fire_conf (missing on the deployed run's report), so the hero scores at the threshold the detector actually runs with.

v1.0.20

Choose a tag to compare

@devjerry0 devjerry0 released this 26 Aug 13:11

Model card fix, part two: the last deployed train job is now surfaced by the status API from the full job history, so nightly prelabel and update jobs no longer push it out of the 10-job window and blank the card.

v1.0.19

Choose a tag to compare

@devjerry0 devjerry0 released this 26 Aug 13:03

Model card threshold fix: held-out scores now shown at the threshold each run actually used (fire_conf) instead of a hardcoded 0.7, and the replaced-model line includes its false-fire count. Photo-fixture test skips when fixtures are absent; tests/fixtures/ gitignored.

v1.0.18 — labels are sacred

Choose a tag to compare

@devjerry0 devjerry0 released this 25 Aug 23:34

The dataset's storage-cap prune no longer deletes labeled frames under any circumstances; it skips them and warns when the cap is too small instead. Fixes silent label loss discovered when the exam count collapsed (fully restored from backups). No dependency changes — self-updates cleanly.

v1.0.17 — bookkeeping on the right side of the fence

Choose a tag to compare

@devjerry0 devjerry0 released this 25 Aug 23:15

The mirror sync keeps its manifest and index in the shared jobs directory, which the trainer user can actually write, instead of the detector's dataset directory. Migrates the existing manifest in place. No dependency changes — self-updates cleanly.