validation accuracy for cnn showing different than in the plot

10 ビュー (過去 30 日間)
new_user
new_user 2021 年 12 月 20 日
コメント済み: Srivardhan Gadila 2021 年 12 月 30 日
in the plot it shows validation accuracy curve reached above 75% but the written validation accuraccy is just 66%! Is something wrong??

採用された回答

Srivardhan Gadila
Srivardhan Gadila 2021 年 12 月 29 日
When training finishes, the Results shows the finalized validation accuracy and the reason that training is finished. If the 'OutputNetwork' training option is set to 'last-iteration' (which is default), the finalized metrics correspond to the last training iteration. If the 'OutputNetwork' training option is set to 'best-validation-loss', the finalized metrics correspond to the iteration with the lowest validation loss. The iteration from which the final validation metrics are calculated is labeled Final in the plots. And from the plot, it is clear that the validation accuracy dropped after training on the final iteration of the data
Refer to the following pages for more information: Monitor Deep Learning Training Progress, trainingOptions & trainNetwork.
  4 件のコメント
new_user
new_user 2021 年 12 月 30 日
'OutputNetwork', 'best-validation-loss'
When I am adding these two functions then I am getting error messag, GPU out of memory.
But when I am not using these two functions then I can run smoothly.
Srivardhan Gadila
Srivardhan Gadila 2021 年 12 月 30 日
In that case, either you can reduce the value of "MiniBatchSize" and try it or train the network on cpu by setting the "ExecutionEnvironment" to "cpu". Both of these are input arguments of trainingOptions.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning for Image Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by