You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: