transformers
bad353ce - Fix DETR segmentation postprocessing output (#19363)

Commit
3 years ago
Fix DETR segmentation postprocessing output (#19363) Ensures post_process_instance_segmentation and post_process_panoptic_segmentation methods return a tensor of shape (target_height, target_width) filled with -1 values if no segment with score > threshold is found.
Author
Parents
Loading