RandLA-Net icon indicating copy to clipboard operation
RandLA-Net copied to clipboard

python utils/6_fold_cv.py, ZeroDivisionError: float division by zero, no /test

Open lifangyan16 opened this issue 3 years ago • 6 comments

2022-03-25 20-31-45屏幕截图 Hello, everyone! I meet this problem at the 'python utils/6_fold_cv.py'. I hope someone can help me. Thank you! In addition, I don't build /test at the step 'sh jobs_6_fold_cv_s3dis.sh'. I don't know why. Maybe these two issues have connection.

lifangyan16 avatar Mar 25 '22 12:03 lifangyan16

2022-03-25 20-31-45屏幕截图 Hello, everyone! I meet this problem at the 'python utils/6_fold_cv.py'. I hope someone can help me. Thank you! In addition, I don't build /test at the step 'sh jobs_6_fold_cv_s3dis.sh'. I don't know why. Maybe these two issues have connection. Hello! I have the same problem with this, did you get the solution for this?

stridom avatar Mar 28 '22 08:03 stridom

Add a small number to the denominator of the division.

Cheedwockz avatar Apr 13 '22 11:04 Cheedwockz

可能是因为你的data_path没找到需要预测的ply文件,注意调试data_path = glob.glob这个代码涉及的路径以及查看路径下面是不是没有需要预测的ply文件

zero406-CC avatar May 05 '22 02:05 zero406-CC

把路径的/data/S3DIS中的“/”删掉

MrZhangXH avatar Jul 26 '22 18:07 MrZhangXH

Move all the generated results (*.ply) in /test folder to /data/S3DIS/results, calculate the final mean IoU results

d-serafly avatar Aug 19 '22 03:08 d-serafly

Install a pycharm. Solving this kind of issue is easy.

lifangyan16 avatar Mar 02 '23 08:03 lifangyan16