With this repo you can train your own object detection classifier with the tensorflow object detection api. I use it to detect several objects in the Carla simulator. For this purpose I created my own dataset which can be downloaded from my other github repository. This is tested for Ubuntu 16.04 but should also work under windows and other linux distributions.
A more detailed instruction on how to train this object detection classifier can be found under: Link
-
Go to the Tensorflow website and follow the step described here. You will also need to install CUDA and cuDNN which is also described on the website.
-
A detailed description can be found here.
-
Clone this repository into the ./tensorflow/models/research/object_detection/ folder.
-
To train the model you will need to use a pretrained model, otherwise training would consume to much time. I my case I used the Faster-RCNN-Inception-V2-COCO model and downloaded it from Tensorflow's model zoo. Extract the pretrained model into the ./tensorflow/models/research/object_detection/ folder.
-
Download the dataset from my other github repo and extract the images into the "images" of this repository e.g. ./tensorflow/models/research/object_detection/Carla_object_detection/images/