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
Just trying to understand what happens when in_channels=1. Every time I rerun the script the _conv_stem.weight is different each time. When in_channels=3 it is the same each time. It seems like something to do with padding. I am working on converting the 2D EfficientNet pretrained weights to 3D weights for use in https://github.com/shijianjian/EfficientNet-PyTorch-3D and this is hanging me up a bit. Thanks. I am using the below code to instantiate the model.
model = EfficientNet.from_pretrained("efficientnet-b0", in_channels=1)
The text was updated successfully, but these errors were encountered:
Just trying to understand what happens when in_channels=1. Every time I rerun the script the _conv_stem.weight is different each time. When in_channels=3 it is the same each time. It seems like something to do with padding. I am working on converting the 2D EfficientNet pretrained weights to 3D weights for use in https://github.com/shijianjian/EfficientNet-PyTorch-3D and this is hanging me up a bit. Thanks. I am using the below code to instantiate the model.
model = EfficientNet.from_pretrained("efficientnet-b0", in_channels=1)
The text was updated successfully, but these errors were encountered: