1. labelme をインストールします (仮想環境にインストールするには、まず仮想環境 python==3.6 を構築します)
(1) まず cmd を開き、仮想環境を作成し、labelme をインストールします (labelme==3.16.2 に注意)
conda create -n labelme python=3.6
pip install labelme==3.16.2
(2) labelmeを開始します
labelme
図に示すように:
(3) .jsonファイルをデータファイルに変換
labelme_json_to_dataset C:\test\img.json
赤いボックス: .json ファイルのパス、青いボックスのファイル名。
実行結果は次の図に示すようになります。
2 つの注釈:
成功!