docs: 清掉失效的 train.py 引用与 ONNX 导出依赖组

仓库里从来没有 train.py / eval.py,入口是 classify.py 与 detect.py。

- README 的计算后端与 SwanLab 示例改用 classify.py,看板路径跟着 work_dir
  改为 runs/classify/swanlog。
- 删掉"train.py 的 train.restart_schedule 同理":restart_schedule 只在
  engine/simclr.py 里实现,分类训练没有这个选项。
- 目录表里 configs/ 的子目录(原写 model/ dataset/ train/ eval/)与 scripts/
  的描述改成实际内容;入口那行补上 detect.py。
- 导出走 OpenVINO,没有脚本用到 onnx/onnxscript,删掉 export 依赖组。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Shaun Zhou
2026-10-08 14:57:11 +08:00
co-authored by Claude Opus 5
parent c2bd5301b4
commit 29ff7a2c9b
4 changed files with 18 additions and 131 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ cv 不判类别,只定位,所以它只能配 `--target label`(默认),
分类器还没训练时就能先跑一版框出来看。它对 blackdot / whitedot / mosquito 这类局部目标
效果好;ripple / wrinkle 这种铺满整图的纹理类,本来就没有局部目标,它给不出有意义的框。
产出是一个**自成一体的 YOLO 数据集**,可直接喂给 train.py:
产出是一个**自成一体的 YOLO 数据集**,可直接喂给 detect.py:
```
runs/<name>/