update samples from Release-115 as a part of SDK release

This commit is contained in:
amlrelsa-ms
2021-10-11 16:09:57 +00:00
parent e2dddfde85
commit 6529298c24
57 changed files with 28923 additions and 192 deletions

View File

@@ -25,8 +25,8 @@ def get_class_label_dict(labels_dir):
label = []
labels_path = os.path.join(labels_dir, 'labels.txt')
proto_as_ascii_lines = tf.gfile.GFile(labels_path).readlines()
for l in proto_as_ascii_lines:
label.append(l.rstrip())
for temp in proto_as_ascii_lines:
label.append(temp.rstrip())
return label