RuntimeError: 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.
可能的情况:有地方数组越界了(下标大于原长或下标小于0)
最坑的是,报错点不一定是真错的地方。需要仔细debug
顺便一提,
pycharm连接服务器debug,参数值有时候一直在加载出不来
解决方法:



