Created using Colaboratory

This commit is contained in:
Glenn Jocher 2022-08-14 22:50:51 +02:00
parent 42812fcb18
commit 3fc89994e9

6
tutorial.ipynb vendored
View File

@ -648,9 +648,7 @@
}, },
"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", "!bash data/scripts/get_coco.sh --test"
"!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, "execution_count": null,
"outputs": [] "outputs": []
@ -1139,4 +1137,4 @@
"outputs": [] "outputs": []
} }
] ]
} }