管理员身份运行安装路径
C:\Anaconda3
conda create --name=labelme python=3.7
conda activate labelme
conda install pyqt
pip install labelme
activate labelme
deactivate
labelme_json_to_dataset 0047.json
激活labelme
C:\Users\Jianhua Guo>activate labelme
(labelme) C:\Users\Jianhua Guo>cd C:\Users\Jianhua Guo\Desktop
(labelme) C:\Users\Jianhua Guo\Desktop>labelme_json_to_dataset 0047.json
[WARNING] json_to_dataset:main:16 - This script is aimed to demonstrate how to convert the JSON file to a single image dataset.
[WARNING] json_to_dataset:main:20 - It won't handle multiple JSON files to generate a real-use dataset.
[INFO ] json_to_dataset:main:77 - Saved to: 0047_json
(labelme) C:\Users\Jianhua Guo\Desktop>
个人小备注:C:\Users\Jianhua Guo\AppData\Local\conda\conda\envs\labelme\Lib\site-packages\labelme\cli
老代码:
(labelme) C:\Users\Jianhua Guo\Desktop>labelme_json_to_dataset 0047.json
新代码
(labelme) C:\Users\Jianhua Guo\Desktop\samples11\samples11>labelme_json_to_dataset