initial commit fd7057f
Reinier commited on
How to use RKoops/my-segmentation-model with Transformers:
# Load model directly
from transformers import AutoImageProcessor, SegformerForSemanticSegmentation
processor = AutoImageProcessor.from_pretrained("RKoops/my-segmentation-model")
model = SegformerForSemanticSegmentation.from_pretrained("RKoops/my-segmentation-model", device_map="auto")