facebookresearch / ContrastiveSceneContexts

Code for CVPR 2021 oral paper "Exploring Data-Efficient 3D Scene Understanding with Contrastive Scene Contexts"
MIT License
223 stars 28 forks source link

Runtime error in the data pre-processing (open3d) #16

Closed r03943158 closed 3 years ago

r03943158 commented 3 years ago

Hi, I am trying to run the data pre-processing on the scanNetv2. However, when the script (preprocess.sh) running the function pcd.points = o3d.utility.Vector3dVector(xyz) in compute_full_overlapping.py, there is a runtime error without any information. I found that the size of numpy array is (276497, 7)in the pcd file generated by point_cloud_extractor.py.

How should I fix the shape to (n, 3)?

Thank you.

Sekunde commented 3 years ago

hi, thanks for pointing it out. I make a pull request which should fix it.

r03943158 commented 3 years ago

It works fine after updating. Thank you.