Closed kaimingkuang closed 1 year ago
Turns out the FPS module does not support CPU mode. I sent the tensor and the model to GPU and fixed it:
if __name__ == '__main__':
data = torch.rand(2, 3, 1024).cuda()
print("===> testing pointMLP ...")
model = pointMLP().cuda()
out = model(data)
print(out.shape)
@kaimingkuang The lib does not support cpu operations.
Thanks! It would be better if this test code could be fixed.
Hi, I was trying to run
pointMLP-pytorch/classification_ModelNet40/models/pointmlp.py
and got the following error:Here is my hardware/software configuration: