質問編集履歴
1
誤字修正.
title
CHANGED
File without changes
|
body
CHANGED
@@ -68,7 +68,7 @@
|
|
68
68
|
|
69
69
|
def _to_one_hot(self,name):
|
70
70
|
one_hot_vector = [0] * self.num_classes
|
71
|
-
if name == '
|
71
|
+
if name == 'aeroplane':
|
72
72
|
one_hot_vector[0] = 1
|
73
73
|
elif name == 'bicycle':
|
74
74
|
one_hot_vector[1] = 1
|