-
Install TF object detection API https://github.com/tensorflow/models/tree/master/research/object_detection
-
Download ssd_mobilenet_v1_coco https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md
-
Download Bosch traffic light dataset https://hci.iwr.uni-heidelberg.de/node/6132
-
Create following folders:
checkpoints
,data
,input
,model
python train.py --pipeline_config_path=ssd_mobilenet_v1_coco.config --train_dir=./checkpoints
python export_inference_graph.py \ --input_type image_tensor \ --pipeline_config_path ./ssd_mobilenet_v1_coco.config \ --trained_checkpoint_prefix ./checkpoints/model.ckpt-<check_point_number> \ --output_directory ./model