charlesq34 / pointnet

PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation
Other
4.64k stars 1.44k forks source link

ZeroDivisionError: float division by zero #272

Open noridayu1998 opened 3 years ago

noridayu1998 commented 3 years ago

File "D:\1. PSM 2020\pointnet\pointnet-master\sem_seg\train.py", line 228, in train_one_epoch log_string('mean loss: %f' % (loss_sum / float(num_batches)))

ZeroDivisionError: float division by zero

I have an error when running the sem_seg train.py.

Nhunguts commented 3 years ago

Hi @noridayu1998 , did you train with the original data ore your own data? I met this error when batch_size is greater than the number of point cloud.

yuhan1010 commented 2 years ago

@noridayu1998 hi there, although we use different pointnet++ codes, there is a same problem when I run train_semseg.py. (BTW, I referred the code programming by yanx27)

songqiming97 commented 11 months ago

@noridayu1998 hi there, although we use different pointnet++ codes, there is a same problem when I run train_semseg.py. (BTW, I referred the code programming by yanx27) I had the same problem. Have you solved it?