Skip to content

Commit b8c4281

Browse files
committed
Pin smoke-test save dir with --name smoke --exist-ok
1 parent 5cc30d7 commit b8c4281

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
4343
python detect.py --imgsz 64 --weights yolov3-tiny.pt --device cpu
4444
python export.py --weights yolov3-tiny.pt --img 64 --include torchscript
4545
python models/yolo.py --cfg yolov3-tiny.yaml # build model from YAML

0 commit comments

Comments
 (0)