From 624788570c8a0313f1f059ac82ae806ad289274c Mon Sep 17 00:00:00 2001 From: Dries Verachtert Date: Wed, 13 Mar 2024 15:49:09 +0100 Subject: [PATCH] Fix minor typo: infenrece => inference (#29621) --- docs/source/en/model_doc/seggpt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/en/model_doc/seggpt.md b/docs/source/en/model_doc/seggpt.md index a7f41630e4..707be24017 100644 --- a/docs/source/en/model_doc/seggpt.md +++ b/docs/source/en/model_doc/seggpt.md @@ -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: