File size: 176 Bytes
903bf4c
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import segmentation_models_pytorch as smp

model = smp.Unet(
    encoder_name="mit_b1",
    encoder_weights="imagenet",
    in_channels=3,
    classes=3,
    activation=None
)