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
f47880a3
Commit
f47880a3
authored
Jun 24, 2017
by
Ben Mabey
Browse files
fix docs on data generation for object detection
parent
3ae3df73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
object_detection/g3doc/preparing_inputs.md
object_detection/g3doc/preparing_inputs.md
+3
-3
No files found.
object_detection/g3doc/preparing_inputs.md
View file @
f47880a3
...
@@ -14,9 +14,9 @@ Extract the tar file and run the `create_pascal_tf_record` script:
...
@@ -14,9 +14,9 @@ Extract the tar file and run the `create_pascal_tf_record` script:
```
```
# From tensorflow/models/object_detection
# From tensorflow/models/object_detection
tar -xvf VOCtrainval_11-May-2012.tar
tar -xvf VOCtrainval_11-May-2012.tar
./
create_pascal_tf_record --data_dir=VOCdevkit \
python
create_pascal_tf_record
.py
--data_dir=VOCdevkit \
--year=VOC2012 --set=train --output_path=pascal_train.record
--year=VOC2012 --set=train --output_path=pascal_train.record
./
create_pascal_tf_record --data_dir=/home/user/VOCdevkit \
python
create_pascal_tf_record
.py
--data_dir=/home/user/VOCdevkit \
--year=VOC2012 --set=val --output_path=pascal_val.record
--year=VOC2012 --set=val --output_path=pascal_val.record
```
```
...
@@ -36,7 +36,7 @@ file and run the `create_pet_tf_record` script to generate TFRecords.
...
@@ -36,7 +36,7 @@ file and run the `create_pet_tf_record` script to generate TFRecords.
# 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
./
create_pet_tf_record --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
...
...
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