windows下打标工具及使用
打标工具:
(1)先安装PyQt5 ,lxml。
pip install PyQt5 -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
pip install lxml -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
(2)解压labelImg-master ,cd 进入该目录,执行
pyrcc5 -o libs/resources.py resources.qrc
python labelImg.py
弹出打标工具
protoc-3.9.0-win64.zip的下载地址
https://github.com/protocolbuffers/protobuf/releases/download/v3.9.0/protoc-3.9.0-win64.zip
(1)解压protoc,配置环境变量
(2)解压models-master
(3) cd models-master\research shift+右键 在此打开命令行
(4)在git命令窗口下 执行protoc object_detection/protos/*.proto --python_out=.
(5) 进入slim目录执行 python setup.py build python setup.py install
(6) 在research目录下执行 python setup.py install
(7)安装 matplotlib,pillow,numpy
models-master的下载地址:
https://github.com/tensorflow/models/tree/master/research/object_detection
打标及训练的参考例子:
https://www.jianshu.com/p/031239631bf7