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

Undocumented multiplication by num_classes #26

Open
pjckoch opened this issue Apr 9, 2024 · 0 comments
Open

Undocumented multiplication by num_classes #26

pjckoch opened this issue Apr 9, 2024 · 0 comments

Comments

@pjckoch
Copy link

pjckoch commented Apr 9, 2024

Hi,

thank you first of all for the great paper and for publishing the code.

I was wondering why you are multiplying the class_weight by num_classes here:

class_weight = class_weight / np.sum(class_weight) * num_classes

I cannot find this multiplication in the equation of the paper:

Bildschirmfoto 2024-04-09 um 13 21 25

Maybe it is a misunderstanding on my end. Thank you in advance!

Patrick

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