MixUp and CutMix transforms for semantic segmentation
Open
@AntoineSimoulin is already working on this.
Since Sep 15, 2025.
- Dominant language
- Python
- Stars
- 17.9k
- Forks
- 7.3k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 13
Description
Is there any way to use the MixUp and CutMix transforms for semantic segmentation masks? I could not find any documentation on it.
If this functionality does not exist, I will be happy to submit a PR for the same.
Motivation - CutMix is used in SOTA semi-supervised semantic segmentation methods such as UniMatch and MixUp is used in knowledge distillation methods such as "Knowledge distillation: A good teacher is patient and consistent"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.