This commit is contained in:
Jirka committed 2020-07-16 12:11:38 +02:00
1 parent da6c7cea2b
commit eac0dbc46a
3 files changed
+9 -9

No files matched your search

+5 -5
View File
@@ -236,7 +236,7 @@
},
"source": [
"# Run YOLOv5x on COCO val2017\n",
"!python test.py --weights yolov5x.pt --data coco.yaml --img 672"
"!python eval.py --weights yolov5x.pt --data coco.yaml --img 672"
],
"execution_count": null,
"outputs": [
@@ -319,7 +319,7 @@
},
"source": [
"# Run YOLOv5s on COCO test-dev2017 with argument --task test\n",
"!python test.py --weights yolov5s.pt --data ./data/coco.yaml --task test"
"!python eval.py --weights yolov5s.pt --data ./data/coco.yaml --task test"
],
"execution_count": null,
"outputs": []
@@ -717,7 +717,7 @@
"for x in best*\n",
"do\n",
" gsutil cp gs://*/*/*/$x.pt .\n",
" python test.py --weights $x.pt --data coco.yaml --img 672\n",
" python eval.py --weights $x.pt --data coco.yaml --img 672\n",
"done"
],
"execution_count": null,
@@ -744,8 +744,8 @@
" do\n",
" python detect.py --weights $x.pt --device $di # detect official\n",
" python detect.py --weights runs/exp0/weights/last.pt --device $di # detect custom\n",
" python test.py --weights $x.pt --device $di # test official\n",
" python test.py --weights runs/exp0/weights/last.pt --device $di # test custom\n",
" python eval.py --weights $x.pt --device $di # test official\n",
" python eval.py --weights runs/exp0/weights/last.pt --device $di # test custom\n",
" done\n",
" python models/yolo.py --cfg $x.yaml # inspect\n",
" python models/export.py --weights $x.pt --img 640 --batch 1 # export\n",