Instructions to use shatrunjai/regular-segmentation-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shatrunjai/regular-segmentation-model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("shatrunjai/regular-segmentation-model") model = SegformerForSemanticSegmentation.from_pretrained("shatrunjai/regular-segmentation-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
b0d73d0 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:9cabfb67339c7e0e08730f4af505b21758782b44da0826ed0690f3f0065f52ae
size 3579
|