質問編集履歴
2
エラー文修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
ModuleNotFoundError Traceback (most recent call last)
|
8
8
|
|
9
|
-
<ipython-input-
|
9
|
+
<ipython-input-7-9ab98298df10> in <module>
|
10
10
|
|
11
11
|
----> 1 from keras.models import Sequential
|
12
12
|
|
@@ -14,9 +14,9 @@
|
|
14
14
|
|
15
15
|
3
|
16
16
|
|
17
|
-
4 model_
|
17
|
+
4 model_lstm = Sequential()
|
18
18
|
|
19
|
-
5 model_
|
19
|
+
5 model_lstm.add(LSTM(n_mid, input_shape=(n_rnn, len(chars))))
|
20
20
|
|
21
21
|
|
22
22
|
|
1
エラー文追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,23 @@
|
|
4
4
|
|
5
5
|
```
|
6
6
|
|
7
|
+
ModuleNotFoundError Traceback (most recent call last)
|
8
|
+
|
9
|
+
<ipython-input-5-7758a2ac4e20> in <module>
|
10
|
+
|
11
|
+
----> 1 from keras.models import Sequential
|
12
|
+
|
13
|
+
2 from keras.layers import Dense, LSTM
|
14
|
+
|
15
|
+
3
|
16
|
+
|
17
|
+
4 model_rnn = Sequential()
|
18
|
+
|
19
|
+
5 model_rnn.add(SimpleRNN(n_mid, input_shape=(n_rnn, n_in), return_sequences=False))
|
20
|
+
|
21
|
+
|
22
|
+
|
7
|
-
No module named 'keras'
|
23
|
+
ModuleNotFoundError: No module named 'keras'
|
8
24
|
|
9
25
|
```
|
10
26
|
|