-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CUDA error: device-side assert triggered #6
Comments
@Inosonnia Can you please provide me with more details such as the value of labels which seemed to have exceeded n_classes ? |
Since I used the default seg data mentioned in the src code (i.e., VOC12+benchmark_RELEASE), the clses are indeed fall in [0, 20], as I tried to print them out. The detailed info is listed here: pytorch/aten/src/THC/generated/../THCTensorMathCompare.cuh line=82 error=59 : device-side assert triggered |
After generating the mask by encode_segmap, SpatialClassNLLCriterion.cu reports: Assertion
t >= 0 && t < n_classes
failed.It seems that the labels exceed the range of n_classes.
I used the default data mentioned in the src code.
Thank you.
The text was updated successfully, but these errors were encountered: