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

RuntimeError: Assertion `cur_target >= 0 && cur_target < n_classes' failed. at /pytorch/aten/src/THNN/generic/SpatialClassNLLCriterion.c:110

Open yejg2017 opened this issue 6 years ago • 0 comments

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

yejg2017 avatar May 17 '19 06:05 yejg2017