训练分割网络时出现CUDA error: an illegal memory access was encountered

奇怪的问题,我发现VOC2012数据集中有20类标签,label除了1-20之外还有0表示背景,255表示边缘,想能不能把这两个也分割出来,所以设定DeepLab的类别数为22,结果在val的时候出现这个问题,当把类别设置为20时,则正常运行。 

上一篇:解决UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xad in position 129: illegal multibyte sequence


下一篇:jmeter发送post请求提示illegal request.解决办法