Update README.md
Browse files
README.md
CHANGED
@@ -46,7 +46,7 @@ Here is how to use this model:
|
|
46 |
>>> masks_queries_logits = outputs.masks_queries_logits
|
47 |
|
48 |
>>> # you can pass them to feature_extractor for postprocessing
|
49 |
-
>>>
|
50 |
```
|
51 |
|
52 |
For more code examples, we refer to the [documentation](https://huggingface.co/docs/transformers/master/en/model_doc/maskformer).
|
|
|
46 |
>>> masks_queries_logits = outputs.masks_queries_logits
|
47 |
|
48 |
>>> # you can pass them to feature_extractor for postprocessing
|
49 |
+
>>> predicted_semantic_map = feature_extractor.post_process_semantic_segmentation(outputs)[0]
|
50 |
```
|
51 |
|
52 |
For more code examples, we refer to the [documentation](https://huggingface.co/docs/transformers/master/en/model_doc/maskformer).
|