Created using Colaboratory

This commit is contained in:
Glenn Jocher committed 2021-03-02 19:20:51 -08:00
1 parent 2c56ad5436
commit fe6ebb96bb
1 file changed
+3 -5
+3 -5
View File
@@ -1169,11 +1169,9 @@
},
"source": [
"# Reproduce\n",
"%%shell\n",
"for x in yolov5s yolov5m yolov5l yolov5x; do\n",
" python test.py --weights $x.pt --data coco.yaml --img 640 --conf 0.25 --iou 0.45 # speed\n",
" python test.py --weights $x.pt --data coco.yaml --img 640 --conf 0.001 --iou 0.65 # mAP\n",
"done"
"for x in 'yolov5s', 'yolov5m', 'yolov5l', 'yolov5x':\n",
" !python test.py --weights {x}.pt --data coco.yaml --img 640 --conf 0.25 --iou 0.45 # speed\n",
" !python test.py --weights {x}.pt --data coco.yaml --img 640 --conf 0.001 --iou 0.65 # mAP"
],
"execution_count": null,
"outputs": []