提交 79d8f1f6 authored 作者: Glenn Jocher's avatar Glenn Jocher

Created using Colaboratory

上级 b760acec
...@@ -639,8 +639,8 @@ ...@@ -639,8 +639,8 @@
"source": [ "source": [
"# Download COCO test-dev2017\n", "# Download COCO test-dev2017\n",
"torch.hub.download_url_to_file('https://ultralytics.com/assets/coco2017labels.zip', 'tmp.zip')\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", "!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 # 7GB 41k images" "!f=\"test2017.zip\" && curl http://images.cocodataset.org/zips/$f -o $f && unzip -q $f -d ../datasets/coco/images"
], ],
"execution_count": null, "execution_count": null,
"outputs": [] "outputs": []
...@@ -651,8 +651,8 @@ ...@@ -651,8 +651,8 @@
"id": "29GJXAP_lPrt" "id": "29GJXAP_lPrt"
}, },
"source": [ "source": [
"# Run YOLOv5s on COCO test\n", "# Run YOLOv5x on COCO test\n",
"!python val.py --weights yolov5s.pt --data coco.yaml --task test" "!python val.py --weights yolov5x.pt --data coco.yaml --img 640 --iou 0.65 --half --task test"
], ],
"execution_count": null, "execution_count": null,
"outputs": [] "outputs": []
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论