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

CB-Loss makes no sense when n_y is large #3

Closed
eugenelawrence opened this issue Jun 16, 2019 · 2 comments
Closed

CB-Loss makes no sense when n_y is large #3

eugenelawrence opened this issue Jun 16, 2019 · 2 comments

Comments

@eugenelawrence
Copy link

When n_y is large, it seems that the loss weights α are always equal to 1. If so, CB Loss makes no sense. @richardaecn
For example, 10,000 images belong to class A, and only 1,000 images belong to class B. Then the CB weights are [1,1], no matter how much β is.
Please correct me if I have any misunderstanding. Thanks.

@eugenelawrence
Copy link
Author

I make a mistake that I only try [0.1, 0.2, ..., 0.9]. When β is extremely large like 0.9999, it is different.

@GuoleiSun
Copy link

Agreed

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

2 participants