hellochick/PSPNet-tensorflow

PACC instead of mIoU

mishaelran opened this issue · 1 comments

Hi Hellochick, i would like to get PACC evaluation instead of mIoU metrics do you know how i can implement it in the code?
(i am using cityscapes)
original:
mIoU, update_op = tf.contrib.metrics.streaming_mean_iou(pred, gt, num_classes=num_classes)

if i change the tf function to:
image

will i get the pixel accuracy?

or this
image

Hi Hellochick, i would like to get PACC evaluation instead of mIoU metrics do you know how i can implement it in the code?
(i am using cityscapes)
original:
mIoU, update_op = tf.contrib.metrics.streaming_mean_iou(pred, gt, num_classes=num_classes)

if i change the tf function to:
image

will i get the pixel accuracy?

or this
image

The two are Pixel Accuracy and mean Pixel Accuracy. You can learn about them.