Instructions to use Hasano20/SegFormer_mit-b5_Clean-Set3-Grayscale with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hasano20/SegFormer_mit-b5_Clean-Set3-Grayscale with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="Hasano20/SegFormer_mit-b5_Clean-Set3-Grayscale")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("Hasano20/SegFormer_mit-b5_Clean-Set3-Grayscale") model = SegformerForSemanticSegmentation.from_pretrained("Hasano20/SegFormer_mit-b5_Clean-Set3-Grayscale", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
55d9c0e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c5671fca9335a62cbd2b5bbd069f0d09d211bd0ed4acac809bb38f863ea68570
size 4923
|