ggsDing / SCanNet

42 stars 2 forks source link

Eval_SCD #5

Closed sankarea-trh closed 1 year ago

sankarea-trh commented 1 year ago

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?

ggsDing commented 1 year ago

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.