Open matteo-st opened 6 months ago
Hi, how do you successfully installedMinkowski Engine ? I tried pip install, conda install and python local install and all failed. When using pip install, it shows ERROR: Could not build wheels for MinkowskiEngine, which is required to install pyproject.toml-based projects
@Vanessa-F Hello! I have the same issue. Did you manage to solve it? If yes, could you tell me, what was the problem?
Describe the bug A clear and concise description of what the bug is.
The return_maps_only argument in sparse_quantize function does not seem to work as expected. If labels are used, the function return the tuple (discrete_coordinates[unique_map], features[unique_map], labels[unique_map], unique_map) but we expect just unique_map.
To Reproduce Steps to reproduce the behavior. If the code is not attached and cannot be reproduced easily, the bug report will be closed without any comments.
python -c "import MinkowskiEngine as ME;import numpy as np; coords = np.array([[1,2,3], [4,5,6]]); feats = np.array([[1,1,1], [2,2,2]]);labels = np.array([[1], [2]]); print(len(ME.utils.sparse_quantize( coords, feats, labels, return_index=True, return_maps_only=True, # This argument does not work as expected )))"
Expected behavior A clear and concise description of what you expected to happen.
We expect that the function returns only unique_map, not a tuple of length 4.
Desktop (please complete the following information):
python -c "import MinkowskiEngine as ME; ME.print_diagnostics()
==========MinkowskiEngine========== 0.5.4 MinkowskiEngine compiled with CUDA Support: True NVCC version MinkowskiEngine is compiled: 11080 CUDART version MinkowskiEngine is compiled: 11080
Additional context Add any other context about the problem here.