I have trained RandlaNet architecture on SensatUrban dataset by creating a dedicated dataset class using toronto3d template. I have trained the architecture with a grid size of 0.05 but when I try to perform an inference on the test set I get IndexError in the update_tests function. I think it might be related to the grid size but I can not understand why.
### Error message
```python
Traceback (most recent call last):
File "Open3D-ML/scripts/run_pipeline.py", line 301, in <module>
sys.exit(main())
File "Open3D-ML/scripts/run_pipeline.py", line 213, in main
pipeline.run_test()
File "/nfs/home/blanco/digitwin/Open3D-ML/ml3d/torch/pipelines/semantic_segmentation.py", line 242, in run_test
self.update_tests(test_sampler, inputs, results)
File "/nfs/home/blanco/digitwin/Open3D-ML/ml3d/torch/pipelines/semantic_segmentation.py", line 323, in update_tests
test_labels = np.argmax(self.test_probs[self.curr_cloud_id][proj_inds], 1)
IndexError: index 10379412 is out of bounds for axis 0 with size 3444876
Expected behavior
Since the training completes smoothly I would expect the inference will go smoothly as well.
Open3D, Python and System information
- Operating system: Ubuntu 22.04.4 LTS
- Python version: Python 3.8.5
- Open3D version: 0.16.0
- System type: x86_64
- Is this remote workstation?: yes
- How did you install Open3D?: pip
Checklist
main
branch).Describe the issue
I have trained RandlaNet architecture on SensatUrban dataset by creating a dedicated dataset class using toronto3d template. I have trained the architecture with a grid size of 0.05 but when I try to perform an inference on the test set I get IndexError in the update_tests function. I think it might be related to the grid size but I can not understand why.
Steps to reproduce the bug
python Open3D-ML/scripts/run_pipeline.py torch \ --split test \ -c {CFG_PATH} \ --model.ckpt_path {MODEL_PATH} \ --dataset.test_result_folder {OUT_PATH}
Expected behavior
Since the training completes smoothly I would expect the inference will go smoothly as well.
Open3D, Python and System information
Additional information
No response