JindongJiang/RedNet

Calculation of med_freq

Closed this issue · 1 comments

Hi,

How was med_freq calculated in line 6 of utils?

-Ian

Hi,

As I mentioned in the paper, the median prob is the median of the prob of all class over all pixels. And the weight is the median prob divided by the prob for that class.

Jindong