Instructions to use abdulsalama/SolarVision-Mask2Former-Swin-Tiny-ADE-2023061208 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use abdulsalama/SolarVision-Mask2Former-Swin-Tiny-ADE-2023061208 with Transformers:
# Load model directly from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation processor = AutoImageProcessor.from_pretrained("abdulsalama/SolarVision-Mask2Former-Swin-Tiny-ADE-2023061208") model = Mask2FormerForUniversalSegmentation.from_pretrained("abdulsalama/SolarVision-Mask2Former-Swin-Tiny-ADE-2023061208") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_max_size": 1333, | |
| "do_normalize": false, | |
| "do_rescale": false, | |
| "do_resize": false, | |
| "ignore_index": 255, | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_processor_type": "Mask2FormerImageProcessor", | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "reduce_labels": true, | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 500, | |
| "width": 500 | |
| }, | |
| "size_divisor": 32 | |
| } | |