Skip to content

Batch layer comes after Relu in your vgg implementation fully connected layers. That is not common practice in deep nets. #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gebrahimi91 opened this issue Jan 8, 2020 · 2 comments

Comments

@gebrahimi91
Copy link

No description provided.

@mil-ad
Copy link
Owner

mil-ad commented Jan 8, 2020

You're right and they do come before ReLUs in the conv layers. There are normally no batchnorms in the classifier but since the paper says they replaced dropout with BN I must have find-replaced all dropout layers with batchnorm.

I came across this Reddit thread and now I'm not sure where BatchNorm belongs anymore.

@gebrahimi91
Copy link
Author

https://www.youtube.com/watch?v=tNIpEZLv_eg&t=328s
Watch this video from Andrew Ng. He mentions in third minute he talks about that and mentions that normalizing the values before applying activation function is much more common.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants