zhouzaida / channel-distillation

PyTorch implementation for Channel Distillation
98 stars 17 forks source link

correct_t[correct_t == 0.0] = 1.0 #8

Closed XiXiRuPan closed 3 years ago

XiXiRuPan commented 3 years ago

Thanks for your sharing. I am confused with correct_t[correct_t == 0.0] = 1.0. If the prediction is wrong, why make the final probabilty is 1.0? Thanks for your reply.

zgcr commented 3 years ago

Thanks for your sharing. I am confused with correct_t[correct_t == 0.0] = 1.0. If the prediction is wrong, why make the final probabilty is 1.0? Thanks for your reply.

Same question as https://github.com/zhouzaida/channel-distillation/issues/3 .I have explained the reason in this link.