Update README.md

This commit is contained in:
Niels Rogge 2022-11-10 09:08:49 +00:00 committed by huggingface-web
parent 51545d69e8
commit 09760d2b60
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ Here is how to use this model:
>>> masks_queries_logits = outputs.masks_queries_logits
>>> # you can pass them to feature_extractor for postprocessing
>>> output = feature_extractor.post_process_semantic_segmentation(outputs)
>>> predicted_semantic_map = feature_extractor.post_process_semantic_segmentation(outputs)[0]
```
For more code examples, we refer to the [documentation](https://huggingface.co/docs/transformers/master/en/model_doc/maskformer).