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

Which versions of S3dis is supported for preprocessing #618

Open
3 tasks done
gardiens opened this issue Sep 26, 2023 · 0 comments
Open
3 tasks done

Which versions of S3dis is supported for preprocessing #618

gardiens opened this issue Sep 26, 2023 · 0 comments
Labels
question Further information is requested

Comments

@gardiens
Copy link

Checklist

My Question

Hello, I wanted to preprocess s3dis and vizualise it, but I got an error at the 184 item, so I wanted to know if the file needed is the aligned version or not, I couldn't find the information in the issue:
pc = pd.read_csv(file, header=None, 68%|██████████████████████████████████████████████████████████▏ | 184/272 [09:57<04:45, 3.25s/it] Traceback (most recent call last): File "OpenMLtest/preprocess.py", line 2, in <module> dataset = ml3d.datasets.S3DIS(dataset_path='data/s3dis/raw') File "/opt/conda/envs/spt/lib/python3.8/site-packages/open3d/_ml3d/datasets/s3dis.py", line 87, in __init__ self.create_ply_files(self.cfg.dataset_path, self.label_to_names) File "/opt/conda/envs/spt/lib/python3.8/site-packages/open3d/_ml3d/datasets/s3dis.py", line 222, in create_ply_files bbox = [class_name] + get_min_bbox(pc) File "/opt/conda/envs/spt/lib/python3.8/site-packages/open3d/_ml3d/datasets/utils/operations.py", line 502, in get_min_bbox cov_points = np.cov(points, rowvar=False, bias=True) File "<__array_function__ internals>", line 200, in cov File "/opt/conda/envs/spt/lib/python3.8/site-packages/numpy/lib/function_base.py", line 2681, in cov avg, w_sum = average(X, axis=1, weights=w, returned=True) File "<__array_function__ internals>", line 200, in average File "/opt/conda/envs/spt/lib/python3.8/site-packages/numpy/lib/function_base.py", line 555, in average if scl.shape != avg_as_array.shape: AttributeError: 'float' object has no attribute 'shape'

@gardiens gardiens added the question Further information is requested label Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant