[SegFormer] Add support for segmentation masks with one label (#20279)
* Add support for binary segmentation * Fix loss calculation and add test * Remove space * use fstring Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local> Co-authored-by:
Niels Rogge <nielsrogge@Nielss-MBP.localdomain>
Showing
Please register or sign in to comment