Instructions to use Hasano20/SegFormer_mit-b5_Clean-Set3_RGB 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_RGB 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_RGB")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("Hasano20/SegFormer_mit-b5_Clean-Set3_RGB") model = SegformerForSemanticSegmentation.from_pretrained("Hasano20/SegFormer_mit-b5_Clean-Set3_RGB", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
d5767ad | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:4439be9a17188fa933e71177269c948305690d35dc066f530d2564c22569f3fd
size 4667
|