Skip to content

Commit

Permalink
tf2 update again
Browse files Browse the repository at this point in the history
  • Loading branch information
rc68 committed Aug 3, 2020
1 parent c6ee311 commit b5e444a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified models/.DS_Store
Binary file not shown.
Binary file modified models/object_detection/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion models/object_detection/code/generate_tfrecord.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def create_tf_example(group, path, label_map):


def main(_):
writer = tf.python_io.TFRecordWriter(FLAGS.output_path)
writer = tf.compat.v1.python_io.TFRecordWriter(FLAGS.output_path)
path = os.path.join(os.getcwd(), FLAGS.img_path)
examples = pd.read_csv(FLAGS.csv_input)

Expand Down

0 comments on commit b5e444a

Please sign in to comment.