Add post_process_semantic_segmentation method to SegFormer (#19072)

* add post_process_semantic_segmentation method to SegformerFeatureExtractor
* add test for semantic segmentation post-processing
This commit is contained in:
Alara Dirik
2022-09-21 11:40:35 +03:00
committed by GitHub
parent ef6741fe65
commit 9e95706648
3 changed files with 75 additions and 2 deletions

View File

@@ -93,6 +93,7 @@ SegFormer's results on the segmentation datasets like ADE20k, refer to the [pape
[[autodoc]] SegformerFeatureExtractor
- __call__
- post_process_semantic_segmentation
## SegformerModel