Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running the train_sem_seg.py #3

Closed
rewreu opened this issue Jun 15, 2018 · 1 comment
Closed

Error running the train_sem_seg.py #3

rewreu opened this issue Jun 15, 2018 · 1 comment

Comments

@rewreu
Copy link

rewreu commented Jun 15, 2018

`----- Train Epoch 001 -----

0%| | 0/5230 [00:00<?, ?it/s]
Traceback (most recent call last):
File "train_sem_seg.py", line 152, in
best_loss=best_loss
File "/home/rewreu/notebook/Zhe/pyTorch/PointNet/Pointnet2_PyTorch/utils/pytorch_utils/pytorch_utils.py", line 842, in train
self._train_epoch(epoch, train_loader, self.eval_frequency)
File "/home/rewreu/notebook/Zhe/pyTorch/PointNet/Pointnet2_PyTorch/utils/pytorch_utils/pytorch_utils.py", line 713, in _train_epoch
self.model, data, epoch=epoch
File "/home/rewreu/notebook/Zhe/pyTorch/PointNet/Pointnet2_PyTorch/models/pointnet2_msg_sem.py", line 29, in model_fn
preds = model(xyz, points)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/home/rewreu/notebook/Zhe/pyTorch/PointNet/Pointnet2_PyTorch/models/pointnet2_msg_sem.py", line 114, in forward
li_xyz, li_points = self.SA_modules[i](l_xyz[i], l_points[i])
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/home/rewreu/notebook/Zhe/pyTorch/PointNet/Pointnet2_PyTorch/models/../utils/pointnet2_modules.py", line 50, in forward
new_points
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/container.py", line 91, in forward
input = module(input)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/container.py", line 91, in forward
input = module(input)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/conv.py", line 176, in forward
self.padding, self.dilation, self.groups)
TypeError: conv1d(): argument 'input' (position 1) must be Tensor, not builtin_function_or_method`

Any idea where the issue might come from?

@erikwijmans
Copy link
Owner

See PR #4. This fixes this issue along with providing less confusing naming schemes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants