The majority of the code is licensed under the MIT License. However, some files are licensed under different terms. Please check each file for file-specific license.
Component-Specific Licenses
-
NVIDIA License
- Applies to the Mix Vision Transformer (SegFormer) encoder
- This is for non-commercial use only
- segmentation_models_pytorch/encoders/mix_transformer.py
- LICENSE_nvidia
-
Apple License
- Applies to the MobileOne encoder
- segmentation_models_pytorch/encoders/mobileone.py
- LICENSE_apple
-
BSD 3-Clause License
- Applies to the DeepLabV3 decoder
- segmentation_models_pytorch/decoders/deeplabv3/decoder.py