質問編集履歴
2
スペルミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -240,13 +240,13 @@
|
|
240
240
|
|
241
241
|
img = Image.open(path)
|
242
242
|
|
243
|
-
img = img.convert(
|
243
|
+
img = img.convert('RGB')
|
244
244
|
|
245
245
|
img = img.resize(imsize)
|
246
246
|
|
247
247
|
img = np.asarray(img)
|
248
248
|
|
249
|
-
img = img / 2
|
249
|
+
img = img / 255.0
|
250
250
|
|
251
251
|
return img
|
252
252
|
|
1
スペルミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -232,7 +232,7 @@
|
|
232
232
|
|
233
233
|
testpick = "./not-jiro1.jpg"
|
234
234
|
|
235
|
-
keras_param = "./param
|
235
|
+
keras_param = "./param.hdfs"
|
236
236
|
|
237
237
|
|
238
238
|
|