converting the output of the model to Pascal VOC format) | [~transformers.DetrImageProcessor.post_process] | [~transformers.DetrImageProcessor.post_process_segmentation] | [~transformers.DetrImageProcessor.post_process_segmentation], [~transformers.DetrImageProcessor.post_process_panoptic] | | |
| evaluators | CocoEvaluator with iou_types="bbox" | CocoEvaluator with iou_types="bbox" or "segm" | CocoEvaluator with iou_tupes="bbox" or "segm", PanopticEvaluator | | |
In short, one should prepare the data either in COCO detection or COCO panoptic format, then use | |
[~transformers.DetrImageProcessor] to create pixel_values, pixel_mask and optional | |
labels, which can then be used to train (or fine-tune) a model. |