You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error in running PointConv and PPFNet for classification. Thanks in advance for any suggestions.
**python train_PointConv_Narges.py --nclasses 9
all_data.shape (9840, 2048, 3) <class 'numpy.ndarray'>
all_label.shape (9840, 1) <class 'numpy.ndarray'>
all_data.shape (9840, 2048, 3) <class 'numpy.ndarray'>
all_label.shape (9840, 1) <class 'numpy.ndarray'>
Error raised in pointnet2 module in utils!
Either don't use pointnet2_utils or retry it's setup.
Error in pointnet2_utils! Retry setup for pointnet2_utils.
cp: cannot stat 'main.py': No such file or directory
cp: cannot stat 'model.py': No such file or directory
Namespace(batch_size=32, dataset_path='/media/emre/Data/Downloads/learning3d/../../ModelNet40/ModelNet40', dataset_type='modelnet', device='cuda:0', emb_dims=512, epochs=200, eval=False, exp_name='exp_classifier', nclasses=9, num_points=500, optimizer='Adam', pointnet='tune', pretrained='', resume='', seed=1234, start_epoch=0, symfn='max', workers=4)
(762, 500, 6)
(189, 500, 6)
0%| | 0/23 [00:01<?, ?it/s]
Traceback (most recent call last):
File "train_PointConv_Narges.py", line 253, in
main()
File "train_PointConv_Narges.py", line 250, in main
train(args, model, train_loader, test_loader, boardio, textio, checkpoint)
File "train_PointConv_Narges.py", line 129, in train
train_loss, train_accuracy = train_one_epoch(args.device, model, train_loader, optimizer)
File "train_PointConv_Narges.py", line 93, in train_one_epoch
output = model(points)
File "/home/emre/anaconda3/envs/learning3d3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/media/emre/Data/Downloads/learning3d/learning3d/models/classifier.py", line 23, in forward
output = self.pooling(self.feature_model(input_data))
File "/home/emre/anaconda3/envs/learning3d3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/media/emre/Data/Downloads/learning3d/learning3d/models/pooling.py", line 16, in forward
return torch.max(input, 2)[0].contiguous()
IndexError: Dimension out of range (expected to be in range of [-2, 1], but got 2)
(learning3d3) emre@emre:/media/emre/Data/Downloads/learning3d$ python train_PointConv_Narges.py --nclasses 9
all_data.shape (9840, 2048, 3) <class 'numpy.ndarray'>
all_label.shape (9840, 1) <class 'numpy.ndarray'>
all_data.shape (9840, 2048, 3) <class 'numpy.ndarray'>
all_label.shape (9840, 1) <class 'numpy.ndarray'>
Error raised in pointnet2 module in utils!
Either don't use pointnet2_utils or retry it's setup.
Error in pointnet2_utils! Retry setup for pointnet2_utils.
cp: cannot stat 'main.py': No such file or directory
cp: cannot stat 'model.py': No such file or directory
Namespace(batch_size=32, dataset_path='/media/emre/Data/Downloads/learning3d/../../ModelNet40/ModelNet40', dataset_type='modelnet', device='cuda:0', emb_dims=512, epochs=200, eval=False, exp_name='exp_classifier', nclasses=9, num_points=500, optimizer='Adam', pointnet='tune', pretrained='', resume='', seed=1234, start_epoch=0, symfn='max', workers=4)
(762, 500, 6)
(189, 500, 6)
0%| | 0/23 [00:01<?, ?it/s]
Traceback (most recent call last):
File "train_PointConv_Narges.py", line 253, in
main()
File "train_PointConv_Narges.py", line 250, in main
train(args, model, train_loader, test_loader, boardio, textio, checkpoint)
File "train_PointConv_Narges.py", line 129, in train
train_loss, train_accuracy = train_one_epoch(args.device, model, train_loader, optimizer)
File "train_PointConv_Narges.py", line 93, in train_one_epoch
output = model(points)
File "/home/emre/anaconda3/envs/learning3d3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/media/emre/Data/Downloads/learning3d/learning3d/models/classifier.py", line 23, in forward
output = self.pooling(self.feature_model(input_data))
File "/home/emre/anaconda3/envs/learning3d3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, kwargs)
File "/media/emre/Data/Downloads/learning3d/learning3d/models/pooling.py", line 16, in forward
return torch.max(input, 2)[0].contiguous()
IndexError: Dimension out of range (expected to be in range of [-2, 1], but got 2)
The text was updated successfully, but these errors were encountered:
I am getting the following error in running PointConv and PPFNet for classification. Thanks in advance for any suggestions.
**python train_PointConv_Narges.py --nclasses 9
all_data.shape (9840, 2048, 3) <class 'numpy.ndarray'>
all_label.shape (9840, 1) <class 'numpy.ndarray'>
all_data.shape (9840, 2048, 3) <class 'numpy.ndarray'>
all_label.shape (9840, 1) <class 'numpy.ndarray'>
Error raised in pointnet2 module in utils!
Either don't use pointnet2_utils or retry it's setup.
Error in pointnet2_utils! Retry setup for pointnet2_utils.
cp: cannot stat 'main.py': No such file or directory
cp: cannot stat 'model.py': No such file or directory
Namespace(batch_size=32, dataset_path='/media/emre/Data/Downloads/learning3d/../../ModelNet40/ModelNet40', dataset_type='modelnet', device='cuda:0', emb_dims=512, epochs=200, eval=False, exp_name='exp_classifier', nclasses=9, num_points=500, optimizer='Adam', pointnet='tune', pretrained='', resume='', seed=1234, start_epoch=0, symfn='max', workers=4)
(762, 500, 6)
(189, 500, 6)
0%| | 0/23 [00:01<?, ?it/s]
Traceback (most recent call last):
File "train_PointConv_Narges.py", line 253, in
main()
File "train_PointConv_Narges.py", line 250, in main
train(args, model, train_loader, test_loader, boardio, textio, checkpoint)
File "train_PointConv_Narges.py", line 129, in train
train_loss, train_accuracy = train_one_epoch(args.device, model, train_loader, optimizer)
File "train_PointConv_Narges.py", line 93, in train_one_epoch
output = model(points)
File "/home/emre/anaconda3/envs/learning3d3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/media/emre/Data/Downloads/learning3d/learning3d/models/classifier.py", line 23, in forward
output = self.pooling(self.feature_model(input_data))
File "/home/emre/anaconda3/envs/learning3d3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/media/emre/Data/Downloads/learning3d/learning3d/models/pooling.py", line 16, in forward
return torch.max(input, 2)[0].contiguous()
IndexError: Dimension out of range (expected to be in range of [-2, 1], but got 2)
(learning3d3) emre@emre:/media/emre/Data/Downloads/learning3d$ python train_PointConv_Narges.py --nclasses 9
all_data.shape (9840, 2048, 3) <class 'numpy.ndarray'>
all_label.shape (9840, 1) <class 'numpy.ndarray'>
all_data.shape (9840, 2048, 3) <class 'numpy.ndarray'>
all_label.shape (9840, 1) <class 'numpy.ndarray'>
Error raised in pointnet2 module in utils!
Either don't use pointnet2_utils or retry it's setup.
Error in pointnet2_utils! Retry setup for pointnet2_utils.
cp: cannot stat 'main.py': No such file or directory
cp: cannot stat 'model.py': No such file or directory
Namespace(batch_size=32, dataset_path='/media/emre/Data/Downloads/learning3d/../../ModelNet40/ModelNet40', dataset_type='modelnet', device='cuda:0', emb_dims=512, epochs=200, eval=False, exp_name='exp_classifier', nclasses=9, num_points=500, optimizer='Adam', pointnet='tune', pretrained='', resume='', seed=1234, start_epoch=0, symfn='max', workers=4)
(762, 500, 6)
(189, 500, 6)
0%| | 0/23 [00:01<?, ?it/s]
Traceback (most recent call last):
File "train_PointConv_Narges.py", line 253, in
main()
File "train_PointConv_Narges.py", line 250, in main
train(args, model, train_loader, test_loader, boardio, textio, checkpoint)
File "train_PointConv_Narges.py", line 129, in train
train_loss, train_accuracy = train_one_epoch(args.device, model, train_loader, optimizer)
File "train_PointConv_Narges.py", line 93, in train_one_epoch
output = model(points)
File "/home/emre/anaconda3/envs/learning3d3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/media/emre/Data/Downloads/learning3d/learning3d/models/classifier.py", line 23, in forward
output = self.pooling(self.feature_model(input_data))
File "/home/emre/anaconda3/envs/learning3d3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, kwargs)
File "/media/emre/Data/Downloads/learning3d/learning3d/models/pooling.py", line 16, in forward
return torch.max(input, 2)[0].contiguous()
IndexError: Dimension out of range (expected to be in range of [-2, 1], but got 2)
The text was updated successfully, but these errors were encountered: