DingLei14/SCanNet

Eval_SCD

Closed this issue · 1 comments

Hi I am getting an error when evalthe predicted results using the SECOND dataset.
Traceback (most recent call last):
File "Eval_SCD.py", line 127, in
Eval()
File "Eval_SCD.py", line 86, in Eval
assert unique_set.issubset(set([0, 1, 2, 3, 4, 5, 6])), "unrecognized label number"
AssertionError: unrecognized label number

The following is the same as my settings when predicting and evaluating
q1
q2
Can you give me some help?

Hi,
The inference codes are provided for index predictions. From your codes, it seems that the inference path are for RGB predictions.
You can change the prediciton option 'index_map' in pred_SCD.py to output index predictions.