From 28952248b19db29ca25ccf34a5eec413376494a9 Mon Sep 17 00:00:00 2001 From: Sergio Paniego Blanco Date: Mon, 2 Sep 2024 17:19:18 +0200 Subject: [PATCH] Fixed typo repeated word in DETR docs (#33250) --- docs/source/en/model_doc/detr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/en/model_doc/detr.md b/docs/source/en/model_doc/detr.md index 9a347d259b..0aeaf8e769 100644 --- a/docs/source/en/model_doc/detr.md +++ b/docs/source/en/model_doc/detr.md @@ -153,7 +153,7 @@ In short, one should prepare the data either in COCO detection or COCO panoptic [`~transformers.DetrImageProcessor`] to create `pixel_values`, `pixel_mask` and optional `labels`, which can then be used to train (or fine-tune) a model. For evaluation, one should first convert the outputs of the model using one of the postprocessing methods of [`~transformers.DetrImageProcessor`]. These can -be be provided to either `CocoEvaluator` or `PanopticEvaluator`, which allow you to calculate metrics like +be provided to either `CocoEvaluator` or `PanopticEvaluator`, which allow you to calculate metrics like mean Average Precision (mAP) and Panoptic Quality (PQ). The latter objects are implemented in the [original repository](https://github.com/facebookresearch/detr). See the [example notebooks](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/DETR) for more info regarding evaluation. ## Resources