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

My implementation in Pytorch doesn't work #2

Open
hbsz123 opened this issue Apr 28, 2019 · 4 comments
Open

My implementation in Pytorch doesn't work #2

hbsz123 opened this issue Apr 28, 2019 · 4 comments

Comments

@hbsz123
Copy link

hbsz123 commented Apr 28, 2019

Dear authors, thanks for your greate effort to make your code open-source.
I re-implement you CB-focal Loss in Pytorch(Both in your tf-version and my own version), but can't reach the performance reported in your paper.

This is my code. Could you please have a check whether there is something wrong with my code?
output: [batch_size, num_classes]
label: [batch_size]
catList: [num_classes] a list of sampler numbers for each class

image

@GuoleiSun
Copy link

Hi,

I think your code is fine. I looked it carefully, and I didn't find any problem. Did you reach the performance reported in the paper? Thanks a lot

@hbsz123
Copy link
Author

hbsz123 commented Jul 30, 2019

Hi,

I think your code is fine. I looked it carefully, and I didn't find any problem. Did you reach the performance reported in the paper? Thanks a lot

I finished my experiments on long-tail CIFAR10 which author released in TF-Record mode but didn't achieved the acc reported in the paper.

@feidfoe
Copy link

feidfoe commented Aug 12, 2019

Same issue here as well. (I also used Pytorch for re-implementation)
I hope the authors provide more details and trained parameters for long-tailed CIFAR.

@hbsz123 Please let us know if you have any progress.

@malarsaravanan1991
Copy link

Quick question :
catList: [num_classes] a list of sampler numbers for each class

sampler number for each class here is calculated for each batch or entire dataset?

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

4 participants