File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ uv pip install -r requirements.txt # install (never bare pip install)
3737
3838# There is no pytest suite. CI smoke-tests the real scripts; the full loop (val/detect on both
3939# official and trained weights, plus torch.hub custom-load traces) is in .github/workflows/ci-testing.yml.
40- # Fast local subset — train auto-increments runs/train/exp<N>, so point val at the run just created :
41- python train.py --imgsz 64 --batch 32 --weights yolov3-tiny.pt --cfg yolov3-tiny.yaml --epochs 1 --device cpu
42- python val.py --imgsz 64 --batch 32 --weights runs/train/exp /weights/best.pt --device cpu
40+ # Fast local subset (--name smoke --exist-ok pins the save dir; without it train auto-increments runs/train/exp<N>) :
41+ python train.py --imgsz 64 --batch 32 --weights yolov3-tiny.pt --cfg yolov3-tiny.yaml --epochs 1 --device cpu --name smoke --exist-ok
42+ python val.py --imgsz 64 --batch 32 --weights runs/train/smoke /weights/best.pt --device cpu
4343python detect.py --imgsz 64 --weights yolov3-tiny.pt --device cpu
4444python export.py --weights yolov3-tiny.pt --img 64 --include torchscript
4545python models/yolo.py --cfg yolov3-tiny.yaml # build model from YAML
You can’t perform that action at this time.
0 commit comments