Mini batch loss in CNN is almost constant and jumps around 0.69

3 次查看(过去 30 天)
I have designed a CNN to work with seizure detection from EEG. My conv filters sizes are: 1x64 and 18x1 respectively.
imageInputLayer([18 64 3]); convlayer1; reluLayer(); dropoutLayer(0.1); convlayer2; reluLayer(); dropoutLayer(0.1) fullyConnectedLayer(2); dropoutLayer(0.2); softmaxLayer(); classificationLayer()];
When I train my CNN, the mini-batch loss almost hovers around 0.69 and doesn't get reduced even after 30 epochs.I tried reducing the filter size and adding Maxpool layers as well, still, the results are same. the maximum accuracy I am able to reach is 62%.
Can anyone help me with this problem? Thanks for your time and help.
Regards Venkat

回答(1 个)

shefali saxena
shefali saxena 2019-1-19
Hello sir
I am facing the same problem when training the CNN architecture using ECG signal
I tried with many epochs, changing layers and also by changing parameters but my training loss (mini-batch loss) doesn't decrease. and remains constant around a value of 0.69 and accuracy not improving beyond 50%
how to increase accuracy
Please help!!!!
Thanks and regads.

类别

Help CenterFile Exchange 中查找有关 Text Analytics Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by