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

α-BN Results #1

Open
tuwangwenx opened this issue Mar 21, 2024 · 2 comments
Open

α-BN Results #1

tuwangwenx opened this issue Mar 21, 2024 · 2 comments

Comments

@tuwangwenx
Copy link

In Table 1, the batch size is 4, 2, 1. The results I ran are completely different from yours. Could you give the forward_and_adapt function you have here. I directly used the code given by Online Test-time Adaptation. I also modified self.norm = nn.BatchNorm2d(self.layer.num_features, affine=False, momentum=cfg.TEST.MOMENTUM, track_running_stats=True) in AlphaBatchNorm.
image

@kiwi12138
Copy link
Owner

If you would like to reproduce the Alpha_BN results, you can directly follow the original code of Online Test-time Adaptationhttps://github.com/mariodoebler/test-time-adaptation/tree/main. Just modify the batchsize parameter in norm_alpha.yaml and run. You don't need to modify any other functions.

@tuwangwenx
Copy link
Author

If you would like to reproduce the Alpha_BN results, you can directly follow the original code of Online Test-time Adaptationhttps://github.com/mariodoebler/test-time-adaptation/tree/main. Just modify the batchsize parameter in norm_alpha.yaml and run. You don't need to modify any other functions.

Thank you for your reply and your paper. Could you please provide me with the AdaptBN code?

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