segmentation-models-pytorch · PyPI
https://pypi.org/project/segmentation-models-pytorch18.11.2021 · Segmentation model is just a PyTorch nn.Module, which can be created as easy as: import segmentation_models_pytorch as smp model = smp.Unet( encoder_name="resnet34", # choose encoder, e.g. mobilenet_v2 or efficientnet-b7 encoder_weights="imagenet", # use `imagenet` pre-trained weights for encoder initialization in_channels=1, # model input ...
segmentation-models-pytorch · PyPI
pypi.org › project › segmentation-models-pytorchNov 18, 2021 · Segmentation model is just a PyTorch nn.Module, which can be created as easy as: import segmentation_models_pytorch as smp model = smp.Unet( encoder_name="resnet34", # choose encoder, e.g. mobilenet_v2 or efficientnet-b7 encoder_weights="imagenet", # use `imagenet` pre-trained weights for encoder initialization in_channels=1, # model input ...