-
Notifications
You must be signed in to change notification settings - Fork 19
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
Handle BatchNorm and base_module call #252
Comments
You're right about the potential undesired behaviour when using Lines 427 to 436 in e80e205
Lines 438 to 447 in e80e205
So if you have other ideas on how to fix this issue, don't hesitate to write them down here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi everyone,
I open this issue because I noticed that the base_module is called separately on source and target. This can cause undesired behavior when using BatchNorm with the estimation of the batch variance and mean. I propose to concatenate source and target and separate the two after forward pass in base_module
skada/skada/deep/base.py
Lines 421 to 442 in e80e205
The text was updated successfully, but these errors were encountered: