clarify error message
This commit is contained in:
parent
7bcc50d439
commit
987128f2e1
@ -268,7 +268,7 @@ def get_image_path(image_lists, label_name, index, image_dir, category):
|
||||
tf.logging.fatal('Category does not exist %s.', category)
|
||||
category_list = label_lists[category]
|
||||
if not category_list:
|
||||
tf.logging.fatal('Category %s has no images - %s.', label_name, category)
|
||||
tf.logging.fatal('Label %s has no images in the category %s.', label_name, category)
|
||||
mod_index = index % len(category_list)
|
||||
base_name = category_list[mod_index]
|
||||
sub_dir = label_lists['dir']
|
||||
|
Loading…
Reference in New Issue
Block a user