glenn-jocher
commited on
Commit
•
79d8f1f
1
Parent(s):
b760ace
Created using Colaboratory
Browse files- tutorial.ipynb +4 -4
tutorial.ipynb
CHANGED
@@ -639,8 +639,8 @@
|
|
639 |
"source": [
|
640 |
"# Download COCO test-dev2017\n",
|
641 |
"torch.hub.download_url_to_file('https://ultralytics.com/assets/coco2017labels.zip', 'tmp.zip')\n",
|
642 |
-
"!unzip -q tmp.zip -d ../datasets && rm tmp.zip
|
643 |
-
"!f=\"test2017.zip\" && curl http://images.cocodataset.org/zips/$f -o $f && unzip -q $f -d ../datasets/coco/images
|
644 |
],
|
645 |
"execution_count": null,
|
646 |
"outputs": []
|
@@ -651,8 +651,8 @@
|
|
651 |
"id": "29GJXAP_lPrt"
|
652 |
},
|
653 |
"source": [
|
654 |
-
"# Run
|
655 |
-
"!python val.py --weights
|
656 |
],
|
657 |
"execution_count": null,
|
658 |
"outputs": []
|
|
|
639 |
"source": [
|
640 |
"# Download COCO test-dev2017\n",
|
641 |
"torch.hub.download_url_to_file('https://ultralytics.com/assets/coco2017labels.zip', 'tmp.zip')\n",
|
642 |
+
"!unzip -q tmp.zip -d ../datasets && rm tmp.zip\n",
|
643 |
+
"!f=\"test2017.zip\" && curl http://images.cocodataset.org/zips/$f -o $f && unzip -q $f -d ../datasets/coco/images"
|
644 |
],
|
645 |
"execution_count": null,
|
646 |
"outputs": []
|
|
|
651 |
"id": "29GJXAP_lPrt"
|
652 |
},
|
653 |
"source": [
|
654 |
+
"# Run YOLOv5x on COCO test\n",
|
655 |
+
"!python val.py --weights yolov5x.pt --data coco.yaml --img 640 --iou 0.65 --half --task test"
|
656 |
],
|
657 |
"execution_count": null,
|
658 |
"outputs": []
|