The reason for the sudden changes in the amount of accuracy in the MATLAB Deep Learning application?

2 次查看(过去 30 天)
My goal is to detect corona from CT scan using neural networks (squeezenet). i have 2 classes of positive corona or negative corona. In both experiments, only Gaussian noise was added to the training images and in Validation images werenot used.
I used the original CT scan images in one type of experiment (type 1)
And in another type of the same photos with the difference that the lungs have been extracted in them (the second type)
Exactly one graph and exactly one value is used for all parameters
It should be noted that the size of these images is smaller than the first type of images, but the size of the input layer in both cases is equal to 224 224 1
But when I do the evaluation with 664 training samples and 262 samples, in the second type, the amount of accuracy drops sharply, from 62 to 39.85, while the work process in the first type seems normal.
Please help me what is the cause of this problem
type 1
type 2

回答(1 个)

CT Xu
CT Xu 2023-2-25
A few practices may help:
  • set 'BatchNormalizationStatistics','moving'
  • set 'Shuffle','every-epoch'
  • use larger miniBatchSize
In addition, set smaller learning rate may also help stably increasing validation accuracy during training

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by