Update README.md
Browse files
README.md
CHANGED
@@ -43,7 +43,7 @@ from PIL import Image
|
|
43 |
from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation
|
44 |
|
45 |
|
46 |
-
# load Mask2Former fine-tuned on
|
47 |
processor = AutoImageProcessor.from_pretrained("facebook/mask2former-swin-base-IN21k-ade-semantic")
|
48 |
model = Mask2FormerForUniversalSegmentation.from_pretrained("facebook/mask2former-swin-base-IN21k-ade-semantic")
|
49 |
|
|
|
43 |
from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation
|
44 |
|
45 |
|
46 |
+
# load Mask2Former fine-tuned on ADE20k semantic segmentation
|
47 |
processor = AutoImageProcessor.from_pretrained("facebook/mask2former-swin-base-IN21k-ade-semantic")
|
48 |
model = Mask2FormerForUniversalSegmentation.from_pretrained("facebook/mask2former-swin-base-IN21k-ade-semantic")
|
49 |
|