RuntimeError: CUDA error: device-side assert triggered
leungMr opened this issue · 1 comments
leungMr commented
When I was using my data set, everything worked in the training phase, but in the validation phase, an error was triggered: "RuntimeError: CUDA error: device-side assert triggered"
After examination, the problem was found in:
idx, dist = knnquery(k, xyz, new_xyz, offset, new_offset) # (n, 3), (n, 3)
after this line of code is executed, the maximum index value in the return value idx
exceeds the length of xyz
..
Do you have any idea what might have happened?
leungMr commented
For example,
xyz.shape[0] is 56.
however, the maximum value in idx is also 56, but it should be 55