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
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
You're right about the potential undesired behaviour when using BatchNorm.
However we can't concatenate source and target since afterward we need to fetch the source and target features from the intermediate_layers (I agree we should add comments in the code to explain this).
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: