forked from open-mmlab/mmsegmentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Add Cutout transform (open-mmlab#1022)
* Fix typo in usage example * [Feature] Add CutOut transform * CutOut repr covered by unittests * Cutout ignore index, test * ignore_index -> seg_fill_in, defualt is None * seg_fill_in is added to repr * test is modified for seg_fill_in is None * seg_fill_in (int), 0-255 * add seg_fill_in test * doc string for seg_fill_in * rename CutOut to RandomCutOut, add prob * Add unittest when cutout is False
- Loading branch information
Showing
3 changed files
with
213 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters