Open Arshita27 opened 5 years ago
In case if you have not figured it out yet. As per my understanding,
start
value is 1/num_classes
.end
as the rounded decimal of the max of softmax scores in confidence_Our_Out.txt
and confidence_Our_In.txt
.In case if you have not figured it out yet. As per my understanding,
- The
start
value is1/num_classes
.- After temperature scaling softmax scores are bound by a value less than 1. So, I assigned
end
as the rounded decimal of the max of softmax scores inconfidence_Our_Out.txt
andconfidence_Our_In.txt
.
what about '100000' in 'gap=(end-start)/100000'?how to decide?
https://github.com/facebookresearch/odin/blob/64e97962ccaed1fe979f43a089c0feb4d8b002fd/code/calMetric.py#L62
How exactly is the value of 'start ' and 'end' chosen after performing temperature scaling?