Serve UNet
Deploy model as REST API service
Deploy model as REST API service
Overview • How To Run • How To Use • How To Use Your Trained Model Outside Supervisely • Related Apps • Acknowledgment
Serve MMSegmentation model as Supervisely Application. MMSegmentation is an open source semantic segmentation toolbox based on PyTorch. Learn more about MMSegmentation and available models here.
Model serving allows to apply model to image (URL, local file, Supervisely image id) with 2 modes (full image, image ROI). Also app sources can be used as example how to use downloaded model weights outside Supervisely.
Application key points:
Supported backbones:
Supported methods:
Step 1. Add Serve MMSegmentation app to your team from Ecosystem
Step 2. Run the application from Plugins & Apps page
Pretrained models
Step 1. Select architecture, pretrained model and press the Serve button
Step 2. Wait for the model to deploy
Custom models
Model and directory structure must be acquired via Train MMSegmentation app or manually created with the same directory structure
You can use your trained models outside Supervisely platform without any dependencies on Supervisely SDK. You just need to download config file and model weights (.pth) from Team Files, and then you can build and use the model as a normal model in mmsegmentation. See this Jupyter Notebook for details.
You can use served model in next Supervisely Applications ⬇️
Apply
button (or use hotkey) and detections with their confidences will immediately appear on the image. This app is based on the great work MMSegmentation
(github).