fabiopoiesi / dip

Project page of the paper "Distinctive 3D local deep descriptors" accepted in IEEE International Conference on Pattern Recognition 2020.
64 stars 4 forks source link

AttributeError: 'open3d.cpu.pybind.geometry.PointCloud' object has no attribute 'select_down_sample' #7

Closed houyongkuo closed 3 years ago

houyongkuo commented 3 years ago

Hi! When I run "preprocess_3dmatch_lrf_train.py", I got the error "AttributeError: 'open3d.cpu.pybind.geometry.PointCloud' object has no attribute 'select_down_sample'".

Using

            # select only corresponding points
            pcd1_corr = pcd1.select_by_index(corrs[:, 0])
            pcd2_corr = pcd2.select_by_index(corrs[:, 1])

will fix the error.

Thanks. Best wishes!

fabiopoiesi commented 3 years ago

Accepted your pull request! This has to do with the new version of open3d.