-
For example, can I use RandAugment without Translate? |
Beta Was this translation helpful? Give feedback.
Answered by
rwightman
Jul 20, 2021
Replies: 1 comment
-
@sk-zk I have not added a clean interface to do that, but there is a reasonable hack, you can modify the private _RAND_TRANSFORMS or _RAND_INCREASING_TRANSFORMS (if you specify https://github.com/rwightman/pytorch-image-models/blob/master/timm/data/auto_augment.py#L542-L580 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sk-zk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@sk-zk I have not added a clean interface to do that, but there is a reasonable hack, you can modify the private _RAND_TRANSFORMS or _RAND_INCREASING_TRANSFORMS (if you specify
inc
1` in the rand aug string) before you create the data pipeline and remove the translates.https://github.com/rwightman/pytorch-image-models/blob/master/timm/data/auto_augment.py#L542-L580