Skip to content
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

[NOMERGE] classification reference with v1 tensor backend #6952

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Nov 15, 2022

cc @datumbox

I've run for a few iterations with

[
    "--batch-size=4",
    "--workers=4",
    "--mixup-alpha=0.5",
    "--cutmix-alpha=0.5",
    "--auto-augment=augmix",
    "--random-erase=1.0",
]

and it seemed to work.

@@ -17,7 +17,10 @@ def __init__(
augmix_severity=3,
random_erase_prob=0.0,
):
trans = [transforms.RandomResizedCrop(crop_size, interpolation=interpolation)]
trans = [
transforms.PILToTensor(),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't move the ConvertImageDtype transform here, because AA in v1 only supports uint8 inputs. Are we benchmarking v2 with float32 or uint8?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are going to test both.

@datumbox datumbox changed the base branch from main to prototype-references/classification-v1 November 16, 2022 18:46
@datumbox datumbox merged commit 1098dad into pytorch:prototype-references/classification-v1 Nov 16, 2022
@pmeier pmeier deleted the references-v1-tensor branch November 17, 2022 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants