| Format of annotations to provide to  [~transformers.DetrFeatureExtractor] | {'image_id': int, 'annotations': List[Dict]} each Dict being a COCO object annotation  | {'image_id': int, 'annotations': List[Dict]}  (in case of COCO detection) or {'file_name': str, 'image_id': int, 'segments_info': List[Dict]} (in case of COCO panoptic) | {'file_name': str, 'image_id': int, 'segments_info': List[Dict]} and masks_path (path to directory containing PNG files of the masks) |
| Postprocessing (i.e. converting the output of the model to COCO API) | [~transformers.DetrFeatureExtractor.post_process] | [~transformers.DetrFeatureExtractor.post_process_segmentation] | [~transformers.DetrFeatureExtractor.post_process_segmentation], [~transformers.DetrFeatureExtractor.post_process_panoptic] |
| evaluators | CocoEvaluator with iou_types="bbox" | CocoEvaluator with iou_types="bbox" or "segm" | CocoEvaluator with iou_tupes="bbox" or "segm", PanopticEvaluator |
