Instructions to use ChristianMDahl/segFormer_ver1_horizontal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ChristianMDahl/segFormer_ver1_horizontal with Transformers:
# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("ChristianMDahl/segFormer_ver1_horizontal") model = SegformerForSemanticSegmentation.from_pretrained("ChristianMDahl/segFormer_ver1_horizontal", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K