Instructions to use mujerry/segformer-b2-finetuned-ade-512-512_necrosis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mujerry/segformer-b2-finetuned-ade-512-512_necrosis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="mujerry/segformer-b2-finetuned-ade-512-512_necrosis")# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("mujerry/segformer-b2-finetuned-ade-512-512_necrosis") model = SegformerForSemanticSegmentation.from_pretrained("mujerry/segformer-b2-finetuned-ade-512-512_necrosis") - Notebooks
- Google Colab
- Kaggle
Ctrl+K