はじめに 「pycocotools」がWindowsでもpipを使って簡単にインストールできるようになった。 touch-sp.hatenablog.com 今回はpycocotoolsを使ってCOCO datasets を扱ってみる。 COCO datasetsのダウンロード、解凍 まずはGluonCVのチュートリアルページから「val2017.zip」と「annotations_trainval2017.zip」をダウンロード。 「coco_data」というフォルダを作成しそちらの中にダウンロードしたZIPファイルを解凍する。 以下のような構造にする。 coco_data | +---annotations | captions_train2017.json | captions_val2017.json | instances_train2017.json | instances_v
![pycocotools を使って COCO datasets を扱ってみる - パソコン関連もろもろ](https://cdn-ak-scissors.b.st-hatena.com/image/square/f77cd219df5c02c6c25304b005310423bc5d0d66/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Ft%2Ftouch-sp%2F20201028%2F20201028105622.png)