Transformers How to use abdulsalama/SolarVision-Mask2Former-Swin-Large-ADE-2023060610 with Transformers:
# Load model directly
from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation
processor = AutoImageProcessor.from_pretrained("abdulsalama/SolarVision-Mask2Former-Swin-Large-ADE-2023060610")
model = Mask2FormerForUniversalSegmentation.from_pretrained("abdulsalama/SolarVision-Mask2Former-Swin-Large-ADE-2023060610")