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

Batch Norm Caffe to Keras incorrect #7

Open
kosstbarz opened this issue Oct 26, 2018 · 1 comment
Open

Batch Norm Caffe to Keras incorrect #7

kosstbarz opened this issue Oct 26, 2018 · 1 comment

Comments

@kosstbarz
Copy link

kosstbarz commented Oct 26, 2018

When calculating mean and variance, factor layer['weights'][2] should be considered.
Line 199: mean = layer['weights'][0] / layer['weights'][2]

@aeeshms
Copy link

aeeshms commented Sep 25, 2020

But the value in Resenet-50 is always 1 for layer['weights'][2] from the extracted caffe model and result is not matching. Something is still missing

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