January 2018
Intermediate to advanced
310 pages
7h 48m
English
The Oxford-IIIT Pet dataset is used for this example. Download the image and annotations with these commands from the Chapter04 directory.
wget http://www.robots.ox.ac.uk/~vgg/data/pets/data/images.tar.gzwget http://www.robots.ox.ac.uk/~vgg/data/pets/data/annotations.tar.gz
Extract the image and annotations as shown here:
tar -xvf images.tar.gztar -xvf annotations.tar.gz
Create the pet_tf record file to create the dataset in the tf records, as they are the required input for the object detection trainer. The label_map for the Pet dataset can be found at object_detection/data/pet_label_map.pbtxt. Move to the research folder and run the following command:
python object_detection/create_pet_tf_record.py \ ...
Read now
Unlock full access