what do 'valid_logits' and 'valid_labels' etc. mean?
LeoCHANGcn opened this issue · 1 comments
LeoCHANGcn commented
what do 'valid_logits' and 'valid_labels' etc. mean?
anxiangsir commented
因为在预处理中把所有的图片padding成了513*513的大小,padding的那部分的label都是255,这部分的label是无效的,这些label不能用来计算loss!