Skip to content

Commit

Permalink
Created using Colaboratory
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Mar 3, 2021
1 parent 2c56ad5 commit fe6ebb9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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": []
Expand Down

0 comments on commit fe6ebb9

Please sign in to comment.