charlesq34 / pointnet

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

ValueError: Cannot feed value of shape (1, 2048, 3) for Tensor 'Placeholder:0', which has shape '(32, 2048, 3)' #271

Open Nhunguts opened 3 years ago

Nhunguts commented 3 years ago

Hi everyone. I am trying to part-segment my own point clouds. I got the above error when training. If you have any advice, please help me. Thank you a lot.

ValueError: Cannot feed value of shape (1, 2048, 3) for Tensor 'Placeholder:0', which has shape '(32, 2048, 3)'

I have another question about h5 file. In the "provider.py" file, there is a function like this:

def load_h5_data_label_seg(h5_filename): f = h5py.File(h5_filename) data = f['data'][:] label = f['label'][:] seg = f['pid'][:] return (data, label, seg)

what is difference between "label" and "seg"? In binary segmentation, the label and seg are the same, aren't they? Please help, thank you.

zhangyu199802 commented 3 years ago

"what is difference between "label" and "seg"? In binary segmentation, the label and seg are the same, aren't they? Please help, thank you."

I have same question,,,,,,,,,please help, thank u

Nhunguts commented 3 years ago

Hi @zhang2020pro , do you solve this problem?