Last active
October 20, 2022 07:39
-
-
Save farukcankaya/f1249ecde07b4dd9db77d9bfca7ad0d4 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
class Augmentation: | |
def __call__(self, aug_input) -> Transform: | |
args = _get_aug_input_args(self, aug_input) | |
tfm = self.get_transform(*args) | |
aug_input.transform(tfm) | |
return tfm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment