segformer-pytorch icon indicating copy to clipboard operation
segformer-pytorch copied to clipboard

num_classes 为什么要+1

Open molywyp opened this issue 1 year ago • 3 comments

molywyp avatar Feb 09 '25 15:02 molywyp

加的那个1是背景类

Tom1m1y avatar Feb 19 '25 02:02 Tom1m1y

加的那个1是背景类

如果label图像没有背景这个label呢?

molywyp avatar Feb 19 '25 12:02 molywyp

加的那个1是背景类

如果图像标签没有这个标签的背景呢?

不会没有背景类的

Tom1m1y avatar Feb 24 '25 09:02 Tom1m1y