質問編集履歴

4

model.summaryの結果追記

2021/02/18 02:38

投稿

tanuki_
tanuki_

スコア31

test CHANGED
File without changes
test CHANGED
@@ -467,3 +467,39 @@
467
467
  Python3.7
468
468
 
469
469
  データセットに使用している画像はRGBカラー画像です。
470
+
471
+ model.summary()の結果
472
+
473
+ ```
474
+
475
+ Model: "sequential"
476
+
477
+ _________________________________________________________________
478
+
479
+ Layer (type) Output Shape Param #
480
+
481
+ =================================================================
482
+
483
+ flatten_layer (Flatten) (None, 2352) 0
484
+
485
+ _________________________________________________________________
486
+
487
+ dense (Dense) (None, 128) 301184
488
+
489
+ _________________________________________________________________
490
+
491
+ dropout (Dropout) (None, 128) 0
492
+
493
+ _________________________________________________________________
494
+
495
+ dense_1 (Dense) (None, 10) 1290
496
+
497
+ =================================================================
498
+
499
+ Total params: 302,474
500
+
501
+ Trainable params: 302,474
502
+
503
+ Non-trainable params: 0
504
+
505
+ ```

3

ソースコード一部修正

2021/02/18 02:38

投稿

tanuki_
tanuki_

スコア31

test CHANGED
File without changes
test CHANGED
@@ -286,7 +286,7 @@
286
286
 
287
287
  train_images.shape
288
288
 
289
- print(train_images.shape, train_labels.shape)の結果
289
+ #print(train_images.shape, train_labels.shape)の結果
290
290
 
291
291
  print(train_images.shape, train_labels.shape)
292
292
 

2

ソースコード一部修正

2021/02/17 07:01

投稿

tanuki_
tanuki_

スコア31

test CHANGED
File without changes
test CHANGED
@@ -286,7 +286,7 @@
286
286
 
287
287
  train_images.shape
288
288
 
289
-
289
+ ♯print(train_images.shape, train_labels.shape)の結果
290
290
 
291
291
  print(train_images.shape, train_labels.shape)
292
292
 

1

補足追加

2021/02/17 06:58

投稿

tanuki_
tanuki_

スコア31

test CHANGED
File without changes
test CHANGED
@@ -465,3 +465,5 @@
465
465
  Tensorflow2.4.1
466
466
 
467
467
  Python3.7
468
+
469
+ データセットに使用している画像はRGBカラー画像です。