Closed fclairec closed 1 year ago
This is because 0
is used as the nolabel class during training (stairs are not evaluated). Since the nolabel class is never predicted, we shift the labels by one when evaluating.
To see this, remember that the columns of target
for a superpoint are as follows, (see here):
When training, we use the cross entropy with the label mode (target[0]), see here. When evaluating, we compute the precision of the point-level predictions (target[2:]), see here.
Thanks @loicland for the explanation. I found my thinking mistake..
Dear authors,
Nice work done here - thanks. But, it seems to me as if the labels are inconsistently evaluated.. I have written down the steps I checked, and it seems that the inconsistency only effects the final per_class_iou dictionary. Please correct me if I am wrong.