Created
October 20, 2022 00:48
-
-
Save farukcankaya/284c125419c1d308051e9a17d7f4df3d to your computer and use it in GitHub Desktop.
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
# from: https://github.com/facebookresearch/detectron2/blob/998c4e15220a0db9f172b1e7ecf376a59b873f1d/detectron2/data/dataset_mapper.py#L163-L165 | |
aug_input = T.AugInput(image, sem_seg=sem_seg_gt) | |
transforms = self.augmentations(aug_input) | |
image, sem_seg_gt = aug_input.image, aug_input.sem_seg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment