SQLNet icon indicating copy to clipboard operation
SQLNet copied to clipboard

Assertion `cur_target >= 0 && cur_target < n_classes' failed

Open deepanshib opened this issue 6 years ago • 0 comments

I am getting error in the following line:-

loss += self.CE(sel_score, sel_truth_var)

Error:- RuntimeError: Assertion `cur_target >= 0 && cur_target < n_classes' failed. at c:\new-builder_3\win-wheel\pytorch\aten\src\thnn\generic/ClassNLLCriterion.c:93

deepanshib avatar Jan 25 '19 04:01 deepanshib