Closed tornadomeet closed 5 years ago
Hi @tornadomeet
This is the conjunction of two factors:
-- 1 : i sum the errors on the points. You use more points than my test case, and the points size is two orders of magnitude larger than my test. This introduces a difference of about 1000 between the test case and your test.
--2 : chamfer_python has some numerical instability because of the type of the tensors (float
). There are no longer any differences in the idx after changing them to double
.
In summary, you can just git pull and your test should pass.
Best regards, Thibault
thanks @ThibaultGROUEIX Now the test has passed!
pc1.npy.zip pc2.npy.zip
the test will be failed if using the above of two point cloud, which the shape is [1, 8192, 3]. i found the min index is different between
ext.chamferDist()
andchamfer_python.distChamfer
.test will be ok if using https://github.com/ThibaultGROUEIX/chamfer_pytorch/blob/master/test_chamfer.py
pytorch version : 1.2
test code:
@ThibaultGROUEIX