QingyongHu / RandLA-Net

🔥RandLA-Net in Tensorflow (CVPR 2020, Oral & IEEE TPAMI 2021)
Other
1.29k stars 318 forks source link

I was wondering how to use KDTree in RandLA-Net. #185

Open IMSHJI opened 2 years ago

IMSHJI commented 2 years ago

Thanks for releasing your code. I was wondering how to use KDTree in RandLA-Net. RandLA-Net applies the knn algorithm through p_i to search significant points from 16 surrounding points and preserves (LFA) significant points in the RS process. RandLA-Net performs semantic segmentation by repeating this process twice (DRB). Is that right?

I used S3DIS and acquired original_ply data and voxel downsampled ply, _KDTree.pkl, _proj.pkl data in the input_0.040 folder during preprocessing. At this time, I am curious how the sub data in the input_0.040 folder is utilized. Please answer me. Thank you.

youssef962 commented 2 years ago

@IMSHJI I have no idea, but it seems that you and me are sharing the same problems with this code! if you have any idea how to solve the error you faced before (FileNotFoundError: [Errno 2] No such file or directory: 'D:/Research/Codes/randlanet/data/S3DIS/original_ply') help me with it please! p.s I tried adding the full path and it didn't work

IMSHJI commented 2 years ago

@youssef962 Are you running in a Windows environment? The codes of RandLA-Net are codes written based on Ubuntu. I think there is an error recognizing windows path starting with 'D:/..'.

youssef962 commented 2 years ago

@IMSHJI Hi, I was wondering is the the while loop in tester.py file of last_min< num_votes is an infinite loop or not? cause I don't see an update in the last_min value ? please I need urgent help!