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

question about the dimension #19

Open
lrrll opened this issue Jul 5, 2020 · 0 comments
Open

question about the dimension #19

lrrll opened this issue Jul 5, 2020 · 0 comments

Comments

@lrrll
Copy link

lrrll commented Jul 5, 2020

Traceback (most recent call last):
File "Train_PFNet.py", line 221, in
fake_center1,fake_center2,fake =point_netG(input_cropped)
File "/home/ouc/.conda/envs/PF-Net/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/home/ouc/.conda/envs/PF-Net/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 143, in forward
outputs = self.parallel_apply(replicas, inputs, kwargs)
File "/home/ouc/.conda/envs/PF-Net/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 153, in parallel_apply
return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
File "/home/ouc/.conda/envs/PF-Net/lib/python3.7/site-packages/torch/nn/parallel/parallel_apply.py", line 83, in parallel_apply
raise output
File "/home/ouc/.conda/envs/PF-Net/lib/python3.7/site-packages/torch/nn/parallel/parallel_apply.py", line 59, in _worker
output = module(*input, **kwargs)
File "/home/ouc/.conda/envs/PF-Net/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/home/ouc/l-dataset/PF-Net-Point-Fractal-Network-master/model_PFNet.py", line 161, in forward
pc3_xyz = pc2_xyz_expand+pc3_xyz
RuntimeError: The size of tensor a (12) must match the size of tensor b (20) at non-singleton dimension 0

when i run the Tranin_PFNet.py it meet this problem,but i only change the epoch,could you please find the problem?

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

1 participant