How do you compute the top k accuracy in semantic segmentation? In classification, we might compute the topk accuracy as:
correct = output.eq(gt.view(1, -1).expand_as(output))
from How to get top k accuracy in semantic segmentation using PyTorch?
No comments:
Post a Comment