mmsegmentation-distiller icon indicating copy to clipboard operation
mmsegmentation-distiller copied to clipboard

ChannelWiseDivergence unused variable

Open RedHeadM opened this issue 3 years ago • 1 comments

In mmseg.distillation.losses.cwd.ChannelWiseDivergence the student softmax output is not used (also self.name): softmax_pred_S = F.softmax(preds_S.view(-1,W*H)/self.tau, dim=1) Intended or a bug?

RedHeadM avatar Nov 16 '21 13:11 RedHeadM

Thanks for your attention !

The arg is deprecated.

If you want to distill model in OpenMMLab related repos, could join the wechat group in README.md

pppppM avatar Nov 26 '21 03:11 pppppM