Skip to content
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

Lower Accuracy Even with Batch norm. #2

Open
learner-codec opened this issue Mar 4, 2023 · 2 comments
Open

Lower Accuracy Even with Batch norm. #2

learner-codec opened this issue Mar 4, 2023 · 2 comments

Comments

@learner-codec
Copy link

Hi thanks for the amazing explanation of the implementation. However I failed to get the reported accuracy reported in the BLOG. With batch Norm I get an accuracy of around 36% which is also visible in the Notebook you have posted.
image
But on the second block. The accuracy becomes 70% somehow. Please Let me know if I am missing something.

@dpetrini
Copy link

dpetrini commented Apr 28, 2023

I run the code in posted notebook and had same issue, Accuracy around 32% (instead of reported around 70%).

Even with MLP BN is set to True as pointed in blog post.

@dpetrini
Copy link

dpetrini commented May 1, 2023

Hello,

Actually it seems that if you fix incorrect ordering of loss, as commented in issue " Incorrect Specification of loss function. #1 ", it will work like in the blog and will get correct accuracy.
It worked for me.

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