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 withimagenet
and without a pretrained encoder)FPN
(both withimagenet
and without a pretrained encoder)PSPNet
(both withimagenet
and without a pretrained encoder)MAnet
(both withimagenet
and without a pretrained encoder)
Encountered Exceptions (Not Trained)
UnetPlusPlus
(both withimagenet
and without a pretrained encoder)Linknet
(both withimagenet
and without a pretrained encoder)DeepLabV3
(both withimagenet
and without a pretrained encoder)DeepLabV3Plus
(both withimagenet
and without a pretrained encoder)PAN
(both withimagenet
and without a pretrained encoder)
Expected Behavior
The documentation should either:
- Clarify that
mit_b0
is 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
Metadata
Metadata
Assignees
Labels
No labels