Fix minor typo: infenrece => inference (#29621)

This commit is contained in:
Dries Verachtert
2024-03-13 15:49:09 +01:00
committed by GitHub
parent fafe90930d
commit 624788570c

View File

@@ -27,7 +27,7 @@ The abstract from the paper is the following:
Tips: Tips:
- One can use [`SegGptImageProcessor`] to prepare image input, prompt and mask to the model. - 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. - 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: Here's how to use the model for one-shot semantic segmentation: