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 in code #11

Open
LiewFeng opened this issue May 5, 2021 · 1 comment
Open

error in code #11

LiewFeng opened this issue May 5, 2021 · 1 comment

Comments

@LiewFeng
Copy link

LiewFeng commented May 5, 2021

Hi, @MenghaoGuo , when I ran this code,
CUDA_VISIBLE_DEVICES=0 python train_cls.py --model pointconv
I got the following mistakes,
Traceback (most recent call last): File "train_cls.py", line 155, in <module> train(net, optimizer, epoch, train_dataloader, args) File "train_cls.py", line 67, in train output = net(pts) File "/userhome/evns/jittor/lib/python3.7/site-packages/jittor/__init__.py", line 730, in __call__ return self.execute(*args, **kw) File "/userhome/PointCloudLib/networks/cls/pointconv.py", line 29, in execute l3_xyz, l3_points = self.sa3(l2_xyz, l2_points) File "/userhome/evns/jittor/lib/python3.7/site-packages/jittor/__init__.py", line 730, in __call__ return self.execute(*args, **kw) File "/userhome/PointCloudLib/misc/pointconv_utils.py", line 380, in execute new_xyz, new_points, grouped_xyz_norm, grouped_density = sample_and_group_all(xyz, points, density_scale.reshape(B, N, 1)) NameError: name 'sample_and_group_all' is not defined
I check the code in PointCloudLib/misc/pointconv_utils.py. It seems that there is no such function as sample_and_group_all. Can you add this function in the code?

@MenghaoGuo
Copy link
Collaborator

Thanks for point out it, we will check and fix soon.

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