Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
1e093b26
Commit
1e093b26
authored
Jun 27, 2017
by
James Pruegsanusak
Browse files
Fix markdown style for better readability
parent
7fcddd76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
object_detection/g3doc/preparing_inputs.md
object_detection/g3doc/preparing_inputs.md
+8
-8
No files found.
object_detection/g3doc/preparing_inputs.md
View file @
1e093b26
...
@@ -11,7 +11,7 @@ The raw 2012 PASCAL VOC data set can be downloaded
...
@@ -11,7 +11,7 @@ The raw 2012 PASCAL VOC data set can be downloaded
[
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
)
.
Extract the tar file and run the
`create_pascal_tf_record`
script:
Extract the tar file and run the
`create_pascal_tf_record`
script:
```
```
bash
# From tensorflow/models/object_detection
# From tensorflow/models/object_detection
tar
-xvf
VOCtrainval_11-May-2012.tar
tar
-xvf
VOCtrainval_11-May-2012.tar
python create_pascal_tf_record.py
--data_dir
=
VOCdevkit
\
python create_pascal_tf_record.py
--data_dir
=
VOCdevkit
\
...
@@ -20,11 +20,11 @@ python create_pascal_tf_record.py --data_dir=VOCdevkit \
...
@@ -20,11 +20,11 @@ python create_pascal_tf_record.py --data_dir=VOCdevkit \
--year
=
VOC2012
--set
=
val
--output_path
=
pascal_val.record
--year
=
VOC2012
--set
=
val
--output_path
=
pascal_val.record
```
```
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/object_detection directory.
`
pascal_val.record
`
in the
`
tensorflow/models/object_detection
`
directory.
The label map for the PASCAL VOC data set can be found at
The label map for the PASCAL VOC data set can be found at
data/pascal_label_map.pbtxt.
`
data/pascal_label_map.pbtxt
`
.
## Generation the Oxford-IIIT Pet TFRecord files.
## Generation the Oxford-IIIT Pet TFRecord files.
...
@@ -32,14 +32,14 @@ The Oxford-IIIT Pet data set can be downloaded from
...
@@ -32,14 +32,14 @@ The Oxford-IIIT Pet data set can be downloaded from
[
their website
](
http://www.robots.ox.ac.uk/~vgg/data/pets/
)
. Extract the tar
[
their website
](
http://www.robots.ox.ac.uk/~vgg/data/pets/
)
. Extract the tar
file and run the
`create_pet_tf_record`
script to generate TFRecords.
file and run the
`create_pet_tf_record`
script to generate TFRecords.
```
```
bash
# From tensorflow/models/object_detection
# From tensorflow/models/object_detection
tar
-xvf
annotations.tar.gz
tar
-xvf
annotations.tar.gz
tar
-xvf
images.tar.gz
tar
-xvf
images.tar.gz
python create_pet_tf_record.py
--data_dir
=
`
pwd
`
--output_dir
=
`
pwd
`
python create_pet_tf_record.py
--data_dir
=
`
pwd
`
--output_dir
=
`
pwd
`
```
```
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/object_detection directory.
`
pet_val.record
`
in the
`
tensorflow/models/object_detection
`
directory.
The label map for the Pet dataset can be found at data/pet_label_map.pbtxt.
The label map for the Pet dataset can be found at
`
data/pet_label_map.pbtxt
`
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment