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

Can not achieve similar results For Tiny ImageNet #14

Open
MapleLeafKiller opened this issue Mar 1, 2021 · 0 comments
Open

Can not achieve similar results For Tiny ImageNet #14

MapleLeafKiller opened this issue Mar 1, 2021 · 0 comments

Comments

@MapleLeafKiller
Copy link

Thanks for your paper and your code, they are great work and help me a lot.
I did experiments on tiny imagenet dataset following the settings revealed on your paper, howerer i can't achieve similar results, for
long tailed 1:100 tiny imagenet, the top-1 validation error I got is:
ERM SGD: 80.05
LDAM SGD: 72.8
It has a big gap with the results showed in your paper. So I wonder if there is any setting or trick I have missed?
In the you mentioned:<We perform
1 crop test with the validation images.> I wonder how it is done specifically.
For ResNet-18, I use:
backbone = models.resnet18(pretrained=True)
backbone.avgpool = nn.AdaptiveAvgPool2d(1)
num_ftrs = backbone.fc.in_features
if USE_NORM:
backbone.fc = NormedLinear(num_ftrs, 200)
else:
backbone.fc = nn.Linear(num_ftrs, 200)
Is it correct?
Looking forward to your reply, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant