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

HOW do you process the data for training? what is the normalization? #14

Closed
Holmes-Alan opened this issue Nov 27, 2020 · 1 comment
Closed

Comments

@Holmes-Alan
Copy link

I tried to use my own data to train your model. I ran into the problem as:

File "/home/server/PCSR_v2/GRNet_network.py", line 115, in forward
pt_features_64_l = self.gridding(partial_cloud).view(batch_size, 1, 64, 64, 64)
File "/home/server/miniconda3/envs/point2mesh/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/home/server/PCSR_v2/extensions/gridding/init.py", line 45, in forward
p = p[non_zeros].unsqueeze(dim=0)
RuntimeError: copy_if failed to synchronize: an illegal memory access was encountered

I assume that it is due to the normalization.

@hzxie
Copy link
Owner

hzxie commented Nov 27, 2020

Please make sure that the coordinates of the points range from (-1, 1).
You can simply normalize the coordinates by dividing the maximum value of the coordinates.

@hzxie hzxie closed this as completed Nov 27, 2020
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