はじめに 「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