Closed quotation2520 closed 2 years ago
I found the error occurred due to the out-of-range indices, and I fixed it by adding the following code in line 543:
filter_idx = (2<=total_pts_features[:, 7]) * (total_pts_features[:, 7] < image.shape[0]-2) * (0<=total_pts_features[:, 6]) * (total_pts_features[:, 6] < image.shape[1]-2)
total_pts_features = total_pts_features[filter_idx]
total_pts_batch_index = total_pts_batch_index[filter_idx]
total_pts_features_xyz_src = total_pts_features_xyz_src[filter_idx]
Now the training is running for more than 1000 iterations, so I hope that this settles this issue.
hello, when i fix the problem with your code, i met a new problem like this : ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1, 12, 1]) have you ever met the error and do you know how to solve it?
Hi, I've been encountering the following errors in
sfd_head.py
, in line 583~586.Sometimes the error happens in
roicrop3d_gpu()
function as:Other times, it happens in the forward pass in
CPConvs
module as:I've been trying to transfer the codebase to spconv2.0, and I have succeeded in building the model. I just want to train it now... Has anyone experienced the same problem?
Thank you.