ERF-PSPNET
ERF-PSPNET copied to clipboard
Why did you set the one_hot depth=num_classes+1 ?
Actually, the depth of the annotations' one_hot matrix should be num_classes.
Actually, the depth of the annotations' one_hot matrix should be num_classes.
Actually, we can communicate in Chinese. 就那个背景在标签上设置为0,在用这个函数处理的时候,要比类别多设置一类,最后计算损失函数的时候用来归一化,和获取相关类别的mask的。
所以是 背景不包含在类别里吗?
在 2019-12-27 11:28:12,"Katexiang" [email protected] 写道:
Actually, the depth of the annotations' one_hot matrix should be num_classes.
Actually, we can communicate in Chinese. 就那个背景在标签上设置为0,在用这个函数处理的时候,要比类别多设置一类,最后计算损失函数的时候用来归一化,和获取相关类别的mask的。
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.