Transformers How to use GlobalWheat/GWFSS_Segformer_b4 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-segmentation", model="GlobalWheat/GWFSS_Segformer_b4") # Load model directly
from transformers import AutoImageProcessor, SegformerForSemanticSegmentation
processor = AutoImageProcessor.from_pretrained("GlobalWheat/GWFSS_Segformer_b4")
model = SegformerForSemanticSegmentation.from_pretrained("GlobalWheat/GWFSS_Segformer_b4")