"...git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "f6b59ae2820f1f314d0ed552f38bc40aec48ec2e"
Commit 790cbb67 authored by James Pruegsanusak's avatar James Pruegsanusak
Browse files

Reword docs and revert some changes.

parent 0566f6fc
...@@ -7,10 +7,10 @@ TFRecords. ...@@ -7,10 +7,10 @@ TFRecords.
## Generating the PASCAL VOC TFRecord files. ## Generating the PASCAL VOC TFRecord files.
The raw 2012 PASCAL VOC data set can be downloaded The raw 2012 PASCAL VOC data set is located
[here](http://host.robots.ox.ac.uk/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tar), [here](http://host.robots.ox.ac.uk/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tar).
or by using the command below. To download, extract and convert it to TFRecords, run the following commands
Extract the tar file and run the `create_pascal_tf_record` script: below:
```bash ```bash
# From tensorflow/models # From tensorflow/models
...@@ -29,12 +29,15 @@ python object_detection/create_pascal_tf_record.py \ ...@@ -29,12 +29,15 @@ python object_detection/create_pascal_tf_record.py \
You should end up with two TFRecord files named `pascal_train.record` and You should end up with two TFRecord files named `pascal_train.record` and
`pascal_val.record` in the `tensorflow/models` directory. `pascal_val.record` in the `tensorflow/models` directory.
The label map for the PASCAL VOC data set can be found at
`object_detection/data/pascal_label_map.pbtxt`.
## Generating the Oxford-IIIT Pet TFRecord files. ## Generating the Oxford-IIIT Pet TFRecord files.
The Oxford-IIIT Pet data set can be downloaded from The Oxford-IIIT Pet data set is located on
[their website](http://www.robots.ox.ac.uk/~vgg/data/pets/), or by using the [their website](http://www.robots.ox.ac.uk/~vgg/data/pets/).
command below. Extract the tar file and run the `create_pet_tf_record` script To download, extract and convert it to TFRecrods, run the following commands
to generate TFRecords. below:
```bash ```bash
# From tensorflow/models # From tensorflow/models
...@@ -50,3 +53,6 @@ python object_detection/create_pet_tf_record.py \ ...@@ -50,3 +53,6 @@ python object_detection/create_pet_tf_record.py \
You should end up with two TFRecord files named `pet_train.record` and You should end up with two TFRecord files named `pet_train.record` and
`pet_val.record` in the `tensorflow/models` directory. `pet_val.record` in the `tensorflow/models` directory.
The label map for the Pet dataset can be found at
`object_detection/data/pet_label_map.pbtxt`.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment