mirror of
https://github.com/GokuMohandas/Made-With-ML.git
synced 2026-03-09 15:23:40 -05:00
No Batch Normalization in CNN? #41
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @knosing on GitHub (Nov 24, 2022).
Hi there,
While doing CNN module, I found that no batch normalization is applied in the forward pass?
@GokuMohandas commented on GitHub (Nov 25, 2022):
Hi @knosing, you're absolutely welcome to add batch normalization here. I can't recall exactly but I don't think BN changed the performance much here. In general, some tasks benefit from BN layers but it's almost always validated empirically. And this validation is really important because batch normalization isn't always perfect. When we're dealing with small batches or trying to optimize on training compute/time, it's not always favorable.