aadeshnpn / OSDN

Keras implementation for the research paper "Towards Open Set Deep Networks" A Bendale, T Boult, CVPR 2016
GNU Lesser General Public License v3.0
78 stars 21 forks source link

Re-calibrate scores #6

Open yasserboutaleb opened 4 years ago

yasserboutaleb commented 4 years ago

Hello,

Please, the "channel_scores" is the feature vector of the "fc8" layer for a specific channel, then why did you loop over the "categoryid" to compute modified_fc8_score = channel_scores[categoryid] ( 1 - wscoreranked_alpha[categoryid] ) ? Yet, the Len(channel_scores) is not equal to NCHANNELS.

Thank you.

sgnet91 commented 4 years ago

Hi, I've noticed the same issue...It seems that the code has been written with the idea to generalize to more channel but in the end he didn't finish to debug it with more than one channel. In fact, it runs only if NCHANNELS=1.

I hope someone will solve this issue soon.

aadeshnpn commented 4 years ago

Thanks @sgnet91 and @Bestyasser . The code was written to generalize to many channels but for now it only works for grey images. I have updated the repo with example and details step to use your own model and data. Hope this helps.