Training in progress, step 40 0843fb8
shatrunjai commited on
How to use shatrunjai/overfit-segmentation-model with Transformers:
# Load model directly
from transformers import AutoImageProcessor, SegformerForSemanticSegmentation
processor = AutoImageProcessor.from_pretrained("shatrunjai/overfit-segmentation-model")
model = SegformerForSemanticSegmentation.from_pretrained("shatrunjai/overfit-segmentation-model", device_map="auto")