Deeplab-pytorch
Deeplab-pytorch copied to clipboard
RuntimeError: Assertion `cur_target >= 0 && cur_target < n_classes' failed. at /pytorch/aten/src/THNN/generic/SpatialClassNLLCriterion.c:110
When I run your code,I get the error follow: RuntimeError: Assertion `cur_target >= 0 && cur_target < n_classes' failed. at /pytorch/aten/src/THNN/generic/SpatialClassNLLCriterion.c:110
And I do not know how to fix it.Could you help me ? Thanks