class-balanced-loss
class-balanced-loss copied to clipboard
Class balanced loss code
Hi! First of all, thank you ver much for your code, it's a great work!
I would like to know if you could tell me the part where the class-balanced-loss is implemented among all the files that you include.
I've been looking for it and I'm a little lost.
Thank you very much in advance!
+1
Loss weight calculation and assigning weights to loss are in different files. The author provided links to both parts in README under the section of "Key Implementation Details".