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

Problems encountered in processing the shapenetV1 dataset #12

Open
rain2050 opened this issue Jul 5, 2023 · 0 comments
Open

Problems encountered in processing the shapenetV1 dataset #12

rain2050 opened this issue Jul 5, 2023 · 0 comments

Comments

@rain2050
Copy link

rain2050 commented Jul 5, 2023

Thank you for disclosing such an excellent work. When I was processing the shapenetV1 dataset, the program reported the following error. Do you know the reason? Looking forward to your reply.

/home/rain/anaconda3/envs/D-PCC/lib/python3.7/site-packages/numpy/core/fromnumeric.py:3373: RuntimeWarning: Mean of empty slice.
out=out, **kwargs)
/home/rain/anaconda3/envs/D-PCC/lib/python3.7/site-packages/numpy/core/_methods.py:163: RuntimeWarning: invalid value encountered in true_divide
ret, rcount, out=ret, casting='unsafe', subok=False)
Traceback (most recent call last):
File "/home/rain/D-PCC/prepare_shapenet.py", line 298, in
max_num=dataset_args.max_num, save_path='./data/shapenet')
File "/home/rain/D-PCC/prepare_shapenet.py", line 229, in generate_dataset
max_num=max_num, cur_sample_strategy=cur_sample_strategy)
File "/home/rain/D-PCC/prepare_shapenet.py", line 144, in divide_cube
xyzs , meta_data= normalize_pcd(xyzs)
File "/home/rain/D-PCC/prepare_shapenet.py", line 51, in normalize_pcd
max_coord, min_coord = np.max(xyzs), np.min(xyzs)
File "<array_function internals>", line 6, in amax
File "/home/rain/anaconda3/envs/D-PCC/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 2706, in amax
keepdims=keepdims, initial=initial, where=where)
File "/home/rain/anaconda3/envs/D-PCC/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 87, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation maximum which has no identity

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