a46f7616fc81eabeded8f3c5ce0a16d51cbec942,examples/segnet/eval_camvid.py,,main,#,43

Before Change


    for iou, label_name in zip(ious, camvid_label_names):
        print("{:>23} : {:.4f}".format(label_name, iou))
    print("=" * 34)
    print("{:>23} : {:.4f}".format("mean IoU", np.nanmean(ious)))
    print("{:>23} : {:.4f}".format(
        "Class average accuracy", mean_pixel_accuracy))
    print("{:>23} : {:.4f}".format(

After Change


    print("=" * 34)
    print("{:>23} : {:.4f}".format("mean IoU", result["miou"]))
    print("{:>23} : {:.4f}".format(
        "Class average accuracy", result["mean_accuracy"]))
    print("{:>23} : {:.4f}".format(
        "Global average accuracy", result["pixel_accuracy"]))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: chainer/chainercv
Commit Name: a46f7616fc81eabeded8f3c5ce0a16d51cbec942
Time: 2017-06-13
Author: yuyuniitani@gmail.com
File Name: examples/segnet/eval_camvid.py
Class Name:
Method Name: main


Project Name: chainer/chainercv
Commit Name: 722fd0b7ced371f339322cb8e42adfd2dea19bf4
Time: 2017-06-13
Author: yuyuniitani@gmail.com
File Name: chainercv/extensions/detection/detection_voc_evaluator.py
Class Name: DetectionVOCEvaluator
Method Name: evaluate


Project Name: chainer/chainercv
Commit Name: e5954e95c907143eeac52db2d83695ca3ae853ad
Time: 2017-06-21
Author: yuyuniitani@gmail.com
File Name: chainercv/extensions/semantic_segmentation/semantic_segmentation_evaluator.py
Class Name: SemanticSegmentationEvaluator
Method Name: evaluate