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

Resnet-50 finetune BN layer use_global_stats #53

Open
johnson-magic opened this issue Sep 23, 2017 · 0 comments
Open

Resnet-50 finetune BN layer use_global_stats #53

johnson-magic opened this issue Sep 23, 2017 · 0 comments

Comments

@johnson-magic
Copy link

hello,everyone,I am using Resnet-50 to finetune my data.I have a question about BN layer param "use_global_stats".

first,i learn that this param should be false when traing; when test should be true。
Now in train_val.prototxt i set this param false,and add Accuracy layer to see the train accuracy and test accuracy 。
i find "test accuracy" output by train_val.prototxt is very lower .And when i use"caffe/build/tools/caffe test -model test.prototxt -weights xxx.caffemodel",the "test accuracy" is higher.
I think this is because the first "test accuracy" is computed by train_val.prototxt whose use_global_stats is set to false. which "test accuracy" is beleviable ? anyone have this question too?why official train_val.protxt don't need accuracy layer ?
thank you

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

1 participant