Hi!
I use this code to train a model on Camvid, and the ignore_label is 11 on this dataset.
I found here is a little mistake in the testing code.
We should add a line in the 'intersectionAndUnion' in 'util/utils.py', and also add
'intersection, union, target = intersectionAndUnion(pred, target, classes,ignore_index=args.ignore_label)' in tool/test.py
Hi! I use this code to train a model on Camvid, and the ignore_label is 11 on this dataset. I found here is a little mistake in the testing code. We should add a line in the 'intersectionAndUnion' in 'util/utils.py', and also add 'intersection, union, target = intersectionAndUnion(pred, target, classes,ignore_index=args.ignore_label)' in tool/test.py
def intersectionAndUnion(output, target, K, ignore_index=255):
'K' classes, output and target sizes are N or N L or N H * W, each value in range 0 to K - 1.