Skip to content

Commit

Permalink
Fix minor typo: infenrece => inference (#29621)
Browse files Browse the repository at this point in the history
  • Loading branch information
DriesVerachtert authored Mar 13, 2024
1 parent fafe909 commit 6247885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/model_doc/seggpt.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The abstract from the paper is the following:
Tips:
- One can use [`SegGptImageProcessor`] to prepare image input, prompt and mask to the model.
- It's highly advisable to pass `num_labels` (not considering background) during preprocessing and postprocessing with [`SegGptImageProcessor`] for your use case.
- When doing infenrece with [`SegGptForImageSegmentation`] if your `batch_size` is greater than 1 you can use feature ensemble across your images by passing `feature_ensemble=True` in the forward method.
- When doing inference with [`SegGptForImageSegmentation`] if your `batch_size` is greater than 1 you can use feature ensemble across your images by passing `feature_ensemble=True` in the forward method.

Here's how to use the model for one-shot semantic segmentation:

Expand Down

0 comments on commit 6247885

Please sign in to comment.