質問編集履歴
1
title
CHANGED
File without changes
|
body
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
```
|
37
37
|
|
38
38
|
### 試したこと
|
39
|
-
同様の質問がteratailに記載されていたので(https://teratail.com/questions/271765)、参考に上記コードを以下の通り修正いたしました。(float32→uint8に置換)
|
39
|
+
同様の質問がteratailに記載されていたので(https://teratail.com/questions/271765)、参考にさせていただき上記コードを以下の通り修正いたしました。(float32→uint8に置換)
|
40
40
|
```python
|
41
41
|
ary = np.load("hiragana.npz")['arr_0'].reshape([-1, 127, 128]).astype(np.uint8) / 15
|
42
42
|
X_train = np.zeros([nb_classes * 160, img_rows, img_cols], dtype=np.uint8)
|