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

Why is the training mode is set to True in ContBatchNorm3d? #19

Open
LWHYC opened this issue Dec 9, 2024 · 0 comments
Open

Why is the training mode is set to True in ContBatchNorm3d? #19

LWHYC opened this issue Dec 9, 2024 · 0 comments

Comments

@LWHYC
Copy link

LWHYC commented Dec 9, 2024

Hi, thanks for the great work!
However, why is training always set to True in the ContBatchNorm3d implementation in SuPreM/target_applications/totalsegmentator/model/unet3d.py?

F.batch_norm( input, self.running_mean, self.running_var, self.weight, self.bias, True, self.momentum, self.eps )

the training mode is explicitly set to True. Won't this affect the behavior during the test phase?

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