-
Notifications
You must be signed in to change notification settings - Fork 36
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
predict txt is different between eval_rec.py and infer_rec.py #65
Comments
This is a result of the reparameterization technique, and batchnorm allows for convolutional operator merging. The detailed structure of the network can be found in RepViT. |
the pic and result has attached |
Are these images manually cropped? |
After our experiment, the third example you provided appears to have inconsistent results. In cases where the difference in data distribution between the test set and the training set is not significant, replace_norm is not affecting the recognition results. The few examples you have shown have a large difference in dataset distribution from the training set, which the recognition model is unable to recognize correctly, and thus may result in replace_norm affecting the recognition results. |
I found that replace_batchnorm is call after model file is loaded in infer_rec.py(line:222), that is caused the pred_result is different
eval_rec.py between infer_rec.py.
why the replace_batchnorm function is added in infer_rec.py
The text was updated successfully, but these errors were encountered: