8-4 使用inception-v3做各种图像的识别

label_lookup_path = 'inception_model/imagenet_2012_challenge_label_map_proto.pbtxt'

用notepad++打开,可以看到:

target_class表示目标的分类,一共有1000个类别,从1-1000

target_class_string对应到inception_model/imagenet_synset_to_human_label_map.txt'文件中

该字符串将两个txt中的表格联系起来了。

uid_lookup_path = 'inception_model/imagenet_synset_to_human_label_map.txt'

本文件中有对1000个类别相应编号字符串的具体英文描述:

猜你喜欢

转载自www.cnblogs.com/Josie-chen/p/9066267.html