Closed DavideCoppola97 closed 3 years ago
This is due to the API changes in the latest TorchSparse (v1.4.0). I've just submitted a PR to fix this issue: https://github.com/mit-han-lab/spvnas/pull/71.
ok thanks a lot now it works. I tried the evaluate.py script and it works too, but I can't understand how to make inference on point clouds for which I don't have the labels and save the labels predicted by the model on these points
You can follow the Google Colab example and remove these lines related to labels.
Yes, thanks, I made some changes to the google collab to make inference on all my pointclouds and save the results in .label files that are also suitable to be viewed with other scripts from other networks. What I don't understand is why when I go to view the results of the semantic segmentation with other scripts based on the label-color association of semanickitti.yaml (which usually work) all the points are the same color, while giving the same file to yours collab viewer always the colors are right. Maybe I'm wrong in saving the network output, currently this is what I save in my .label file:
Map the prediction back to original points outputs = outputs [inverse]
that is the last step that is done by the collab before feeding the label to the web viewer, thanks!
This does not seem to be related to our repo. To troubleshoot this issue, you could first print out the stored .label
file to see whether the labels are all the same. If not, you could then double-check the label-color association file used by other visualizers.
Hi, what is this error due to? I have not changed anything in the source code, I have salably corrected an import in previous collab blocks that referred to files in the wrong certificate of torchparse. I also get this error when using a .bin file from my lidar.