質問編集履歴
2
情報の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -71,6 +71,8 @@
|
|
71
71
|
|
72
72
|
エラー文を翻訳にかけ、それについて検索したが、解決方法が得られなかった。
|
73
73
|
|
74
|
+
![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-11-29/7125f4b5-a30b-4c30-9a0a-49d9d64f791f.png)
|
75
|
+
正規化させる前に、振り分けられた、x_train内をのぞいてみました。
|
74
76
|
### 補足情報
|
75
77
|
映画ポスターのジャンルは8つあり、trainには合計854枚のデータ、testには合計16枚のデータがあります。
|
76
78
|
|
1
エラー文の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -9,6 +9,13 @@
|
|
9
9
|
### 発生している問題・エラーメッセージ
|
10
10
|
|
11
11
|
```
|
12
|
+
C:\Users\ryota\AppData\Local\Temp\ipykernel_12096\28291439.py:19: VisibleDeprecationWarning:
|
13
|
+
Creating an ndarray from ragged nested sequences (which is a list-or-tuple of
|
14
|
+
lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated.
|
15
|
+
If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
|
16
|
+
x_train = np.array(x_train) / 255.0
|
17
|
+
|
18
|
+
|
12
19
|
ValueError Traceback (most recent call last)
|
13
20
|
Input In [4], in <cell line: 19>()
|
14
21
|
16 x_test.append(img_data)
|