質問編集履歴

4

文法訂正

2018/10/22 09:01

投稿

yep
yep

スコア45

test CHANGED
File without changes
test CHANGED
@@ -154,7 +154,7 @@
154
154
 
155
155
  autoencoder.fit(x,
156
156
 
157
- epoch=1000,
157
+ epochs=1000,
158
158
 
159
159
  batch_size=256,
160
160
 
@@ -162,11 +162,11 @@
162
162
 
163
163
  #学習の進み具合を観察
164
164
 
165
- def on_epoch_end(epoch):
165
+ def on_epoch_end(epochs):
166
166
 
167
167
  print()
168
168
 
169
- print('Epoch: %d' % epoch)
169
+ print('Epoch: %d' % epochs)
170
170
 
171
171
 
172
172
 

3

文法訂正

2018/10/22 09:01

投稿

yep
yep

スコア45

test CHANGED
File without changes
test CHANGED
@@ -148,9 +148,7 @@
148
148
 
149
149
  autoencoder.compile(optimizer='Adam', loss='categorical_crossentropy')
150
150
 
151
- #ネットワーク構造を可視化
151
+
152
-
153
- plot_model(autoencoder, to_file='AE_model.png')
154
152
 
155
153
  #autoencoderの実行
156
154
 

2

文法訂正

2018/10/22 08:50

投稿

yep
yep

スコア45

test CHANGED
File without changes
test CHANGED
@@ -160,9 +160,7 @@
160
160
 
161
161
  batch_size=256,
162
162
 
163
- shuffle=False,
163
+ shuffle=False)
164
-
165
- validation_data=(test_word))
166
164
 
167
165
  #学習の進み具合を観察
168
166
 

1

文法訂正

2018/10/22 08:42

投稿

yep
yep

スコア45

test CHANGED
File without changes
test CHANGED
@@ -148,6 +148,10 @@
148
148
 
149
149
  autoencoder.compile(optimizer='Adam', loss='categorical_crossentropy')
150
150
 
151
+ #ネットワーク構造を可視化
152
+
153
+ plot_model(autoencoder, to_file='AE_model.png')
154
+
151
155
  #autoencoderの実行
152
156
 
153
157
  autoencoder.fit(x,