質問編集履歴
2
説明の間違えを修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
yolov3で独自データ学習中ログのnan状態を解消したい
|
1
|
+
yolov3で独自データ学習中ログのIOUがnan状態を解消したい
|
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
参考記事の通りに学習を実行したところ、しばらくは学習が進んでいますが、
|
12
12
|
|
13
|
-
バッチ回数993あたりからlossが急激に上昇し、以降はnanの状態が続きます。
|
13
|
+
バッチ回数993あたりからlossが急激に上昇し、以降はlossがinf、IOUがnanの状態が続きます。
|
14
14
|
|
15
15
|
このnan状態は学習が失敗している(学習の発散)と考えていいでしょうか?
|
16
16
|
|
1
エラーメッセージの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,11 +36,9 @@
|
|
36
36
|
|
37
37
|
...
|
38
38
|
|
39
|
-
|
39
|
+
...
|
40
40
|
|
41
41
|
...
|
42
|
-
|
43
|
-
|
44
42
|
|
45
43
|
Region 94 Avg IOU: 0.474061, Class: 0.987655, Obj: 0.000822, No Obj: 0.000356, .5R: 0.458333, .75R: 0.041667, count: 24
|
46
44
|
|
@@ -63,6 +61,58 @@
|
|
63
61
|
Region 94 Avg IOU: 0.000000, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 25
|
64
62
|
|
65
63
|
Region 94 Avg IOU: 0.000000, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 34
|
64
|
+
|
65
|
+
...
|
66
|
+
|
67
|
+
...
|
68
|
+
|
69
|
+
...
|
70
|
+
|
71
|
+
Region 94 Avg IOU: 0.000000, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 22
|
72
|
+
|
73
|
+
Region 82 Avg IOU: 0.000000, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 17
|
74
|
+
|
75
|
+
Region 106 Avg IOU: 0.000000, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 2
|
76
|
+
|
77
|
+
Region 106 Avg IOU: 0.000000, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 2
|
78
|
+
|
79
|
+
Region 94 Avg IOU: 0.000000, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 29
|
80
|
+
|
81
|
+
Region 82 Avg IOU: 0.000000, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 15
|
82
|
+
|
83
|
+
Region 82 Avg IOU: 0.000000, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 22
|
84
|
+
|
85
|
+
Region 94 Avg IOU: 0.000000, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 29
|
86
|
+
|
87
|
+
Region 94 Avg IOU: 0.000000, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 26
|
88
|
+
|
89
|
+
Region 106 Avg IOU: 0.000000, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 4
|
90
|
+
|
91
|
+
Region 106 Avg IOU: 0.000000, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 1
|
92
|
+
|
93
|
+
Region 106 Avg IOU: -nan, Class: -nan, Obj: -nan, No Obj: 0.000000, .5R: -nan, .75R: -nan, count: 0
|
94
|
+
|
95
|
+
994: inf, inf avg, 0.007810 rate, 5.969997 seconds, 508928 images
|
96
|
+
|
97
|
+
Loaded: 0.000276 seconds
|
98
|
+
|
99
|
+
Region 82 Avg IOU: nan, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 23
|
100
|
+
|
101
|
+
Region 82 Avg IOU: nan, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 19
|
102
|
+
|
103
|
+
Region 82 Avg IOU: nan, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 23
|
104
|
+
|
105
|
+
Region 94 Avg IOU: nan, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 26
|
106
|
+
|
107
|
+
Region 94 Avg IOU: nan, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 27
|
108
|
+
|
109
|
+
Region 94 Avg IOU: nan, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 30
|
110
|
+
|
111
|
+
Region 82 Avg IOU: nan, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 14
|
112
|
+
|
113
|
+
Region 82 Avg IOU: nan, Class: 0.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 20
|
114
|
+
|
115
|
+
|
66
116
|
|
67
117
|
```
|
68
118
|
|