Skip to content

Commit 4330e1d

Browse files
author
Abdul Dakkak
committed
update
1 parent c86827c commit 4330e1d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vision/tools/create_pet_tf_record.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# limitations under the License.
1414
# ==============================================================================
1515

16+
# python create_pet_tf_record.py --label_map_path=../support/object_detection/assets/pet_label_map.pbtxt --data_dir=$HOME/data/pet --output_dir=$HOME/data/pet
17+
1618
r"""Convert the Oxford pet dataset to TFRecord for object_detection.
1719
1820
See: O. M. Parkhi, A. Vedaldi, A. Zisserman, C. V. Jawahar
@@ -54,7 +56,7 @@
5456
'in the latter case, the resulting files are much larger.')
5557
flags.DEFINE_string('mask_type', 'png', 'How to represent instance '
5658
'segmentation masks. Options are "png" or "numerical".')
57-
flags.DEFINE_integer('num_shards', 10, 'Number of TFRecord shards')
59+
flags.DEFINE_integer('num_shards', 1, 'Number of TFRecord shards')
5860

5961
FLAGS = flags.FLAGS
6062

0 commit comments

Comments
 (0)