14 Commits

Author SHA1 Message Date
95a5f8b2ed Document git-source install and tag-driven release flow
Project is distributed from git + tags rather than PyPI. Replace the
sync/wheel install instructions with `uv add 'git+URL@tag'` forms and
add a release section spelling out the manual version-bump + tag
procedure.
2026-05-12 00:44:02 +08:00
de602365e9 Refactor into standard Python package with uv
- Move all code into src/mouse_control/ following the src-layout convention,
  with model/collect/train/visualize/inference as separate modules and
  SimpleNet extracted into model.py
- Add hatchling-based pyproject.toml with three CLI entry points
  (mouse-collect, mouse-train, mouse-visualize) and bundle the trained
  ONNX model as a package resource under assets/
- Move training data to data/, delete superseded show.py, remove dead
  imports (numpy, onnxruntime, onnx, onnxsim) and the unused
  visualize_path() helper
- Fix crashes in the collector: guard against destroyed-widget access
  after the n==100 destroy(), and skip save_to_csv when recording is
  off or the path is too short to derive 10 keypoints
- Switch ONNX export to external_data=False so the model ships as a
  single self-contained 19KB file
- Bytes-load the bundled model via importlib.resources so packaging
  remains correct under zip-safe distributions
- Rewrite README around the new layout, commands, and public API
2026-05-12 00:30:08 +08:00
suixin1424
2c482150d4 Update README.md 2025-01-21 14:17:27 +08:00
suixin1424
d62373e810 Update README.md 2025-01-19 18:49:23 +08:00
suixin1424
1c8dbe1ccd Update README.md 2025-01-19 18:28:14 +08:00
suixin1424
5043f8c674 Update README.md 2024-02-10 15:31:18 +08:00
suixin1424
7ddb7969cc Update README.md 2024-02-02 17:43:44 +08:00
suixin1424
902b2a9386 Update README.md 2024-01-28 20:44:17 +08:00
suixin1424
e0bc413150 Update README.md 2024-01-28 20:43:44 +08:00
suixin1424
787abbd0a1 Update README.md 2024-01-23 21:47:44 +08:00
suixin1424
2ed61d7444 Update README.md 2024-01-23 21:46:02 +08:00
suixin1424
3c0a5f2eff Update README.md 2024-01-23 21:44:18 +08:00
suixin1424
afc02c7d0a Update README.md 2024-01-23 21:42:09 +08:00
suixin1424
38123f070c Initial commit 2024-01-23 20:52:50 +08:00