"...resnet50_tensorflow.git" did not exist on "7b5f980dbd7fb61abc691fca5666bddfe5043ab5"
Commit 56765e5b authored by Jonathan Huang's avatar Jonathan Huang Committed by GitHub
Browse files

Merge pull request #1755 from bmabey/patch-1

fix docs on data generation for object detection
parents f3ba86ef 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
......
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