Unverified Commit 50f7f405 authored by Karanbir Chahal's avatar Karanbir Chahal Committed by GitHub
Browse files

Fix Typo of variable name

Fixes the variable name for the tf proto example function.
parent 40a660e8
...@@ -76,7 +76,7 @@ def create_cat_tf_example(encoded_cat_image_data): ...@@ -76,7 +76,7 @@ def create_cat_tf_example(encoded_cat_image_data):
'image/width': dataset_util.int64_feature(width), 'image/width': dataset_util.int64_feature(width),
'image/filename': dataset_util.bytes_feature(filename), 'image/filename': dataset_util.bytes_feature(filename),
'image/source_id': dataset_util.bytes_feature(filename), 'image/source_id': dataset_util.bytes_feature(filename),
'image/encoded': dataset_util.bytes_feature(encoded_image_data), 'image/encoded': dataset_util.bytes_feature(encoded_cat_image_data),
'image/format': dataset_util.bytes_feature(image_format), 'image/format': dataset_util.bytes_feature(image_format),
'image/object/bbox/xmin': dataset_util.float_list_feature(xmins), 'image/object/bbox/xmin': dataset_util.float_list_feature(xmins),
'image/object/bbox/xmax': dataset_util.float_list_feature(xmaxs), 'image/object/bbox/xmax': dataset_util.float_list_feature(xmaxs),
......
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