analogdevicesinc / ai8x-training

Model Training for ADI's MAX78000 and MAX78002 Edge AI Devices
Apache License 2.0
92 stars 80 forks source link

CamVid-UNet accuracy measurement #186

Closed lx2u16 closed 1 year ago

lx2u16 commented 2 years ago

Hi,

I can see there is an UNet demo that is trained and tested using the CamVid dataset. I think it is doing semantic segmentation which the accuracy is typically measured by IoU.

However, your script shows a top1 accuracy. I wonder what it is?

Thanks.

ermanok commented 2 years ago

The dataset gives a segmentation map, where each pixel is assigned to one of the target classes, of the image as the label. So we use pixel-wise classification accuracy as the Top-1 accuracy.

lx2u16 commented 2 years ago

@ermanok thanks, and the final Top-1 accuracy is the mean pixel-wise classification accuracy of the entire test dataset?

ermanok commented 2 years ago

that is correct.