Update README.md
Browse files
README.md
CHANGED
@@ -51,6 +51,7 @@ class_queries_logits = outputs.class_queries_logits
|
|
51 |
masks_queries_logits = outputs.masks_queries_logits
|
52 |
|
53 |
# you can pass them to feature_extractor for postprocessing
|
|
|
54 |
predicted_semantic_map = feature_extractor.post_process_semantic_segmentation(outputs, target_sizes=[image.size[::-1]])[0]
|
55 |
```
|
56 |
|
|
|
51 |
masks_queries_logits = outputs.masks_queries_logits
|
52 |
|
53 |
# you can pass them to feature_extractor for postprocessing
|
54 |
+
# we refer to the demo notebooks for visualization (see "Resources" section in the MaskFormer docs)
|
55 |
predicted_semantic_map = feature_extractor.post_process_semantic_segmentation(outputs, target_sizes=[image.size[::-1]])[0]
|
56 |
```
|
57 |
|