Scaling Factor ODIN
matteoguarrera opened this issue · comments
As stated by your readme your implementation is based on:
In particular, I would like to understand the following lines:
energy_ood/utils/score_calculation.py
Lines 67 to 69 in 77f3c09
It seems there is an issue here. The original code is:
Thanks for your time
We did notice this issue and it seems to be a consistency problem of merging all different implementation code. This scaling factor is determined by TRAINING scale which is the same as https://github.com/hendrycks/outlier-exposure/blob/master/CIFAR/test.py/#L49. We believe switching to a different scaling during TEST time using Mahalanobis distance leads to unfair results, so we use the same scaling for all the other methods.