質問編集履歴

2

スペルミス

2020/07/20 16:09

投稿

_mini
_mini

スコア15

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("RGB")
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 / 225.0
249
+ img = img / 255.0
250
250
 
251
251
  return img
252
252
 

1

スペルミス

2020/07/20 16:09

投稿

_mini
_mini

スコア15

test CHANGED
File without changes
test CHANGED
@@ -232,7 +232,7 @@
232
232
 
233
233
  testpick = "./not-jiro1.jpg"
234
234
 
235
- keras_param = "./params.hdfs"
235
+ keras_param = "./param.hdfs"
236
236
 
237
237
 
238
238