Pretrained Neural network ALEX-NET training process.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Deepika B
el 13 de Feb. de 2020
Comentada: Srivardhan Gadila
el 25 de Feb. de 2020
Is the modelshown below is overfitting or not? sometimes it seems that mini-batch accuracy is less than validation accuracy why?.
0 comentarios
Respuesta aceptada
Srivardhan Gadila
el 19 de Feb. de 2020
I think the model is not overfitting. The validation loss normally decreases during the initial phase of training, as does the training loss. However, when the network begins to overfit the data, the loss on the validation set typically begins to rise and clearly there is not much difference between the training loss and validation loss. You can refer to Improve Shallow Neural Network Generalization and Avoid Overfitting for more understanding of Overfitting and steps to avoid overfitting.
The Validation accuracy can be higher than the training (mini-batch) accuracy, one possible situtation is when the network has layers that behave differently during prediction than during training for example, dropout layers. It also depends on how the training & validation data are split.
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Data Workflows en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!