CUDA error: device-side assert triggered

CUDA error: device-side assert triggered

Solution

Check whether the label starts from 0. If not, modify it to start from 0.

Read More: