UPSNet icon indicating copy to clipboard operation
UPSNet copied to clipboard

SpatialClassNLLCriterion

Open AI-liu opened this issue 6 years ago • 2 comments

/opt/conda/conda-bld/pytorch_1535491974311/work/aten/src/THCUNN/SpatialClassNLLCriterion.cu:99: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [4,0,0], thread: [607,0,0] Assertion t >= 0 && t < n_classes failed. THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1535491974311/work/aten/src/THC/generic/THCTensorCopy.cpp line=70 error=59 : device-side assert triggered

AI-liu avatar Aug 05 '19 03:08 AI-liu

Same error when trained on CityScapes, what is your environment?

Flames60 avatar Oct 29 '19 11:10 Flames60

maybe the labels of the images have questions. The labels should be labeltrainIds.png

xudi1997 avatar Jan 15 '20 09:01 xudi1997