I am getting different accuracy after each run in DNN.
古いコメントを表示
Hello there
I am using a simple DNN architecture , with 24 layers in total, containing CNN and classification layer only. for 10 epochs I am getting a diffrent accuracy every time is it possible. Also the traing graph is not settled till end of training, I tried for 50 epochs too.
any help?
8 件のコメント
Walter Roberson
2020 年 6 月 25 日
I think it likely that there is random initialization going on.
Try using rng() with a fixed seed, such as
rng(655321)
just before each training session, to see whether you get the same result each time.
krishna Chauhan
2020 年 6 月 25 日
Kanika Gupta
2020 年 6 月 25 日
編集済み: Walter Roberson
2020 年 6 月 25 日
krishna Chauhan
2020 年 6 月 25 日
Walter Roberson
2020 年 6 月 25 日
Can you attach your code and data? You can zip it all up and attach the zip.
krishna Chauhan
2020 年 6 月 26 日
編集済み: krishna Chauhan
2020 年 6 月 26 日
krishna Chauhan
2020 年 6 月 26 日
krishna Chauhan
2020 年 6 月 27 日
回答 (1 件)
Aditya Patil
2020 年 8 月 19 日
0 投票
Set a random seed using the rng function. Otherwise, during each run, a different random seed might be selected, resulting in different results.
カテゴリ
ヘルプ センター および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!