Closed alvinng4 closed 3 months ago
After some testing, I found that using BatchNorm2D and Dropout2d(p=0.2) yields the best test results. It achieved 0.91 accuracy with only 15 epochs
Thanks for sharing. And yes, I agree, 0.5 is a bit high. I think I used that because it's the "classic" value from the dropout paper, but usually you don't need to (or shouldn't) go much higher than 0.1-0.3. I'll make a note to update that in case there's ever a 2nd edition one day. Thanks!
In Chapter 14: Classifying Images with Deep Convolutional Neural Networks (Part 2/2), dropout layers are applied after the first two pooling layers with
p=0.5
:However, I have read online that the dropout probability on convolutional layers should not be that high. In fact, after lowering p from
p=0.5
top=0.15
, I achieved a much better result.