なぜ trainNetwork関数を実行すると毎回結果が異なりますか?
2 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Oct 2017
Answered: MathWorks Support Team
on 27 Oct 2017
乱数生成を固定して trainNetworkを使って学習しているつもりですが、 シミュレーションを繰り返す度に精度(結果)が変化します。
原因について教えてください。
Accepted Answer
MathWorks Support Team
on 27 Oct 2017
Neural Network Toolbox の CNN の学習を GPU で利用する場合、 cuDNN ルーチン (NVidia が提供する Deep Neural Network 用ライブラリ)を使っており、cuDNN 側の非決定的なルーチンが原因となっております。
誠に恐れ入りますが、再現性可能な回避方法としては、GPU の代わりに、CPU を利用するモードで学習してください。
0 Comments
More Answers (0)
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!