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