-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cutmix -> CutMix #7784
Cutmix -> CutMix #7784
Conversation
@NicolasHug My comment was only about the documentation, class names can be Cutmix and Mixup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks Nicolas
@@ -14,7 +14,7 @@ | |||
from torchvision.transforms.v2.utils import has_any, is_simple_tensor, query_size | |||
|
|||
|
|||
class _BaseMixupCutmix(_RandomApplyTransform): | |||
class _BaseMixUpCutMix(_RandomApplyTransform): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we delete them from prototype now that we have a proper implementation in v2? If you do, note that there are tests for this in test/test_prototype_transforms.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do in another PR
Reviewed By: matteobettini Differential Revision: D48642274 fbshipit-source-id: 2bf95841d5cc45d77e8def3e427d3386ae8e1148
@pmeier @vfdev-5: discuss
Follow up to #7772 (comment)
(Note that timm names them
Cutmix
andMixup
)cc @vfdev-5