CheXNet-with-localization icon indicating copy to clipboard operation
CheXNet-with-localization copied to clipboard

Weights not used in training batch

Open hugokitano opened this issue 5 years ago • 3 comments
trafficstars

Hi! Thanks for this project. I noticed the weights for each training batch are not used. How did you incorporate them in training? I read in your report that your mean AUC ended up being better with them.

hugokitano avatar Mar 04 '20 04:03 hugokitano

What do you mean weights for each training batch ?

thtang avatar Mar 04 '20 13:03 thtang

image

In train.py, you define weights_sub, but they are not used for anything in the loss function.

hugokitano avatar Mar 04 '20 19:03 hugokitano

Yup, the weights are originally used for loss function as described in the paper. However, there is no improvement regarding AUC score but makes the training code messy. If you've read different versions of the paper on arXiv, you will find out that they obtained the definitely same AUC number using different loss functions.

thtang avatar Mar 05 '20 15:03 thtang