How to use from the
Use from the
Transformers library
# Load model directly
from transformers import AutoImageProcessor, SegformerForSemanticSegmentation

processor = AutoImageProcessor.from_pretrained("nazlicanto/segformer-defect-detection")
model = SegformerForSemanticSegmentation.from_pretrained("nazlicanto/segformer-defect-detection", device_map="auto")
Quick Links
README.md exists but content is empty.
Downloads last month
4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Space using nazlicanto/segformer-defect-detection 1