Last active
October 20, 2022 13:29
-
-
Save farukcankaya/12200b51dc2e9399fd9c8463b5c64513 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def transform(self, tfm: Transform) -> None: | |
if isinstance(tfm, MultiModalTransform): | |
self.image, self.annos = \ | |
tfm.apply_multi_modal(self.image, self.annos) | |
else: | |
super().transform(tfm) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment