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 Oct 22, 2021
1 parent b760ace commit 79d8f1f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -639,8 +639,8 @@
"source": [
"# Download COCO test-dev2017\n",
"torch.hub.download_url_to_file('https://ultralytics.com/assets/coco2017labels.zip', 'tmp.zip')\n",
"!unzip -q tmp.zip -d ../datasets && rm tmp.zip # unzip labels\n",
"!f=\"test2017.zip\" && curl http://images.cocodataset.org/zips/$f -o $f && unzip -q $f -d ../datasets/coco/images # 7GB 41k images"
"!unzip -q tmp.zip -d ../datasets && rm tmp.zip\n",
"!f=\"test2017.zip\" && curl http://images.cocodataset.org/zips/$f -o $f && unzip -q $f -d ../datasets/coco/images"
],
"execution_count": null,
"outputs": []
Expand All @@ -651,8 +651,8 @@
"id": "29GJXAP_lPrt"
},
"source": [
"# Run YOLOv5s on COCO test\n",
"!python val.py --weights yolov5s.pt --data coco.yaml --task test"
"# Run YOLOv5x on COCO test\n",
"!python val.py --weights yolov5x.pt --data coco.yaml --img 640 --iou 0.65 --half --task test"
],
"execution_count": null,
"outputs": []
Expand Down

0 comments on commit 79d8f1f

Please sign in to comment.