plot_top_losses now plots by default the heatmat (great feature by the way - many thanks ;))
I read the definition of the function here:
Did not really help to get a feeling of why this threshold is initialized to 16, what are the possible value to it (range from 0 to 100 - percentage of max intensity they mention here maybe ?).
I also not understand how this threshold is influencing the plotting.
I would expect that if I increase (or decrease) I would get less area (or more) colored on my heatmaps.
What I observe is same results if I put the threshold to 5 or 45 - and nothing colored at all if I put it to 50.
Can anyone help me get an intuition of what this 16 defaut value means, and what it changes to change that value?
Thank you
K.
Example on a dummy X-ray dataset (epaule=shoulder, hanches=hips)
No, the threshold doesn’t have anything to do with values of activations, it’s a threshold of how many activations are necessary to plot the heatmap (if you just have a 1x1 result from your CNN for instance, it won’t give a nice result).
Thank you for your answer. It is still unclear to me why I have exactly same heatmap per pic with 5 and 45 as threshold, and no heatmap for 50. Does it make sense to you ?
(This particular example is a training of resnet34 for binary classification)