質問編集履歴
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,11 +30,7 @@
|
|
30
30
|
|
31
31
|
~~~~~~~~~~~~~~~~~~~~
|
32
32
|
|
33
|
-
|
33
|
+
|
34
|
-
|
35
|
-
step 96, training accuracy 0.7
|
36
|
-
|
37
|
-
step 97, training accuracy 0.7
|
38
34
|
|
39
35
|
step 98, training accuracy 0.7
|
40
36
|
|
@@ -654,9 +650,27 @@
|
|
654
650
|
|
655
651
|
```
|
656
652
|
|
657
|
-
|
653
|
+
## 追記
|
654
|
+
|
658
|
-
|
655
|
+
130行目あたりの出力層の正規化に使う関数をソフトマックス関数からシグモイド関数に変更しても変化ありませんでした。(シグモイド関数の書き方を間違っている可能性もありますが)
|
656
|
+
|
659
|
-
|
657
|
+
```
|
658
|
+
|
659
|
+
with tf.name_scope('softmax') as scope:
|
660
|
+
|
661
|
+
y_conv=tf.nn.softmax(tf.matmul(h_fc1_drop, W_fc2) + b_fc2)
|
662
|
+
|
663
|
+
|
664
|
+
|
665
|
+
↓
|
666
|
+
|
667
|
+
|
668
|
+
|
669
|
+
with tf.name_scope('sigmoid') as scope:
|
670
|
+
|
671
|
+
y_conv=tf.nn.sigmoid(tf.matmul(h_fc1_drop, W_fc2) + b_fc2)
|
672
|
+
|
673
|
+
```
|
660
674
|
|
661
675
|
### 補足情報(FW/ツールのバージョンなど)
|
662
676
|
|
1
タイトル変更
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Tensorflow で学習
|
1
|
+
Tensorflow を使用した顔分類で、うまく学習できていないのを直したい
|
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
### 発生している問題・エラーメッセージ
|
16
16
|
|
17
|
-
プログラムは問題なく動きますが、途中の学習精度が
|
17
|
+
プログラムは問題なく動きますが、途中の学習精度が変化しないままプログラムが動いてしまいます。
|
18
18
|
|
19
19
|
|
20
20
|
|