unmannedlab / RELLIS-3D

RELLIS-3D: A Multi-modal Dataset for Off-Road Robotics
https://unmannedlab.github.io/research/RELLIS-3D
287 stars 49 forks source link

Ontology mismatch #3

Open etevere11 opened 3 years ago

etevere11 commented 3 years ago

Hi,

I am using the HRNet model to test on a different dataset and came across a couple of issues when referencing the ontology documentation:

  1. In ontology.csv you list a class 32 [deep water] which is not included in the ontology.yaml - is this label included in the dataset?
  2. When I use the HRNet test function and visualize results, the model output/prediction contains labels that do not exist for the dataset like 2 and 13. Any idea why this might be happening or how to fix this issue?
maskjp commented 3 years ago

Hi, @etevere11 ,

Thank you for your interest in RELLI-3D. Sorry for the mismatch, we don't have a deep water class in the annotation. Please ignore the class. We just updated the csv file, thank you for your help.

If you used the test script of HRNet, the output labels are mapped between 0 to the number of classes. You can use this function to remap it.

Hope this answer solves your problem.

etevere11 commented 3 years ago

Hi @maskjp,

Thanks for the updated information. In regards to the label_mapping function that you linked, is there a reason that both class 0 [void] and class 1 [dirt] are remapped to the same value of 0? Shouldn't these both continue to be included in the image, or does your model remove the void class from consideration, and if so, are areas in the original image that are labeled as being void interpreted as dirt then? image

maskjp commented 3 years ago

Hi, @etevere11, We mapped the dirt to void because the number of the dirt pixels is too small to learn. When training and evaluating, we ignore the void class, so the dirt is also ignored.