https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html
获取数据集
- 拍照
- 调整大小、扩充
- 使用LabelImg标记
训练
- Creating Label Map
- Converting *.xml to *.csv
python xml_to_csv.py -i /Users/coconutnut/.pyenv/versions/3.5.7/lib/python3.5/site-packages/tensorflow/workspace/garbage_classification/images/train -o /Users/coconutnut/.pyenv/versions/3.5.7/lib/python3.5/site-packages/tensorflow/workspace/garbage_classification/annotations/train_labels.csv
python xml_to_csv