Commit 8f52c681 authored by James Pruegsanusak's avatar James Pruegsanusak
Browse files

Minor typo label_map_util.py

parent 8a317572
...@@ -75,7 +75,7 @@ def convert_label_map_to_categories(label_map, ...@@ -75,7 +75,7 @@ def convert_label_map_to_categories(label_map,
list is created with max_num_classes categories. list is created with max_num_classes categories.
max_num_classes: maximum number of (consecutive) label indices to include. max_num_classes: maximum number of (consecutive) label indices to include.
use_display_name: (boolean) choose whether to load 'display_name' field use_display_name: (boolean) choose whether to load 'display_name' field
as category name. If False of if the display_name field does not exist, as category name. If False or if the display_name field does not exist,
uses 'name' field as category names instead. uses 'name' field as category names instead.
Returns: Returns:
categories: a list of dictionaries representing all possible categories. categories: a list of dictionaries representing all possible categories.
......
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