なぜ trainNetwo​rk関数を実行すると​毎回結果が異なります​か?

乱数生成を固定して trainNetworkを使って学習しているつもりですが、 シミュレーションを繰り返す度に精度(結果)が変化します。
原因について教えてください。

 Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Oct 2017

0 votes

Neural Network Toolbox の CNN の学習を GPU で利用する場合、 cuDNN ルーチン (NVidia が提供する Deep Neural Network 用ライブラリ)を使っており、cuDNN 側の非決定的なルーチンが原因となっております。 
誠に恐れ入りますが、再現性可能な回避方法としては、GPU の代わりに、CPU を利用するモードで学習してください。
 

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2017a

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!