Skip to content

Commit 7900650

Browse files
authored
Update create_pascal_tf_record.py
minor changes: removal of useless lines
1 parent 5beec32 commit 7900650

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

extra/create_pascal_tf_record.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
Example usage:
1919
python object_detection/dataset_tools/create_pascal_tf_record.py \
2020
--data_dir=/home/user/VOCdevkit \
21-
--year=VOC2012 \
2221
--output_path=/home/user/pascal.record
22+
--labe_map_path=/home/user/dataset/label.pbtxt
2323
"""
2424
from __future__ import absolute_import
2525
from __future__ import division
@@ -52,8 +52,6 @@
5252
FLAGS = flags.FLAGS
5353

5454
SETS = ['train', 'val', 'trainval', 'test']
55-
YEARS = ['VOC2007', 'VOC2012', 'merged']
56-
5755

5856
def dict_to_tf_example(data,
5957
dataset_directory,

0 commit comments

Comments
 (0)