[Solved] CUDA error: device side assert triggered classification task error

CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

When the four categories of label is 1-4, change it to 0-3 can

Read More: