fxia22 / pointnet.pytorch

pytorch implementation for "PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation" https://arxiv.org/abs/1612.00593
MIT License
2.13k stars 627 forks source link

Hellow,.How can we get ply of modelnet40? what can you explain? #76

Open sunjunling666 opened 4 years ago

timothylimyl commented 4 years ago

hey, having the same problem:

with open(os.path.join(self.root, fn), 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'datasets/ModelNet40\\cone/train/cone_0073.ply'

All the files from ModelNet40 is .off files.

Edit: It seems that we have to figure out how to preprocess the .off files into .ply.

comewei commented 3 years ago

yes,I also meet.It's so sad.

lmomoy commented 3 years ago

yes,I also meet.It's so sad.

Have you solved it?

comewei commented 3 years ago

yes,I also meet.It's so sad.

Have you solved it?

hello,then I just use the bash download.sh.it all finish.first, i set my code in Windows,it doesn't work. so i change the OS into Ubuntu,it really works. wish it be helpful.

lmomoy commented 3 years ago

yes,I also meet.It's so sad.

Have you solved it?

hello,then I just use the bash download.sh.it all finish.first, i set my code in Windows,it doesn't work. so i change the OS into Ubuntu,it really works. wish it be helpful.

I guess that the download.sh only is the source of segmentation dataset instead of modelnet40. Do you use the segmentation dataset?

comewei commented 3 years ago

yes,I also meet.It's so sad.

Have you solved it?

hello,then I just use the bash download.sh.it all finish.first, i set my code in Windows,it doesn't work. so i change the OS into Ubuntu,it really works. wish it be helpful.

I guess that the download.sh only is the source of segmentation dataset instead of modelnet40. Do you use the segmentation dataset?

hello,sorry,I don't solve it.

Helena2007 commented 5 months ago

download.sh contains information about shapenet dataset only. From where will we get modelnet40 dataset. I have tried manually downloading modelnet40, but when run the command got errors.

python3 train_classification.py --dataset /.../ModelNet40 --nepoch=10 --dataset_type modelnet40 Namespace(batchSize=32, num_points=2500, workers=4, nepoch=10, outf='cls', model='', dataset='home/.../ModelNet40', dataset_type='modelnet40', feature_transform=False) Random Seed: 2348 Traceback (most recent call last): File "/.../pointnet.pytorch/utils/train_classification.py", line 57, in dataset = ModelNetDataset( ^^^^^^^^^^^^^^^^ File "/..../pointnet.pytorch/pointnet/dataset.py", line 154, in init with open(os.path.join(root, '{}.txt'.format(self.split)), 'r') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/...../ModelNet40/trainval.txt'