-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Encoder Compatibility Issue Across Models Using mit_b0
Description
While using mit_b0 as an encoder, I encountered compatibility issues with several models, not just the previously mentioned Linknet and Unet++. According to the documentation, Linknet and Unet++ do not support mit_b0 as an encoder, and FPN supports it only with an encoder depth of 5. However, in practice, other models also fail to support mit_b0 as an encoder.
Models and Observed Behavior
Below is a list of models and the observed training status using mit_b0 as an encoder:
Trained Successfully
Unet(both withimagenetand without a pretrained encoder)FPN(both withimagenetand without a pretrained encoder)PSPNet(both withimagenetand without a pretrained encoder)MAnet(both withimagenetand without a pretrained encoder)
Encountered Exceptions (Not Trained)
UnetPlusPlus(both withimagenetand without a pretrained encoder)Linknet(both withimagenetand without a pretrained encoder)DeepLabV3(both withimagenetand without a pretrained encoder)DeepLabV3Plus(both withimagenetand without a pretrained encoder)PAN(both withimagenetand without a pretrained encoder)
Expected Behavior
The documentation should either:
- Clarify that
mit_b0is not compatible with certain models, including but not limited to Linknet and Unet++. - Indicate that these models are not supported with the current encoder configuration.
This clarification would help set clear expectations for users attempting to use mit_b0 across various models.
Environment
- OS: Ubuntu 24.04.1 LTS
- Framework: PyTorch
- Python version: 3.11
brianhou0208
Metadata
Metadata
Assignees
Labels
No labels