Comments (4)
I’m happy to take a look, but I need more information than “it’s wrong”. Do you have an input/output example pair?
from pointnet2_pytorch.
Hi @erikwijmans, thank you for your reply. I tested with the following snippets, and found the grouped points 'xyz1' did not match its corresponding points in 'xyz'. I hope you can reproduce it.
xyz_trans = torch.rand((1, 3, 32)).cuda()
idx = torch.cat([torch.range(0,31).view(1, 32, 1),
torch.randint(0, 32, (1, 32, 5))], dim=-1).type(torch.long).cuda()
grouped_xyz_src = grouping_operation( xyz_trans, idx) # (B, 3, npoint, nsample)
print("xyz1: ", grouped_xyz_src[:, :, :, 0])
print("xyz_tran: ", xyz_trans)
print("idxs: ", idx)
from pointnet2_pytorch.
idx
should be an int tensor, not a long tensor.
EDIT: Digging into this a little further, I assume you are on the pytorch-1.0.0 branch as the function would have errored out if you had it called it when unexpected types on master. I have added assertions to the pytorch-1.0.0 branch to ensure the tensors are of the expected types.
from pointnet2_pytorch.
Thank you. I got it.
from pointnet2_pytorch.
Related Issues (20)
- How to run "pip install pointnet2_ops_lib/." under the version of PyTorch 1.7.0? HOT 1
- No module named 'pointnet2' HOT 10
- [BUG] Error Sampling Result for Furthest Point Sampling HOT 1
- CUDA kernel failed : no kernel image is available for execution on the device HOT 1
- device = torch.device('cuda')在paddlepaddle上应该是怎样的
- How can the prediction result be restored to the original size?
- FP module bug when know is None HOT 1
- Is there some way to make the SA_module and FP_module deterministic HOT 1
- How to build with CUDA9.0 ? HOT 4
- Inference using my own point cloud on S3DIS dataset using PointNet++
- integrate with Lightning ecosystem CI
- pointnet2_ops_lib: Compilation Error HOT 8
- grouping_operation function not expected result
- Unauthenticated git no longer supported HOT 1
- ball_query.cpp error:cpu not support HOT 1
- @pengPeterpeng I tried running the conftest.py file but getting the following error
- A lightweight Cylinder3D model with much higher performance is now available!!!
- python setup.py build_ext --inplace HOT 3
- pointnet2_ops install problem HOT 10
- Error when importing pointnet2_utils HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pointnet2_pytorch.