5f0bcd410402c54dfa34818005e8f77a65498aa2,chainercv/extensions/semantic_segmentation/semantic_segmentation_vis_report.py,SemanticSegmentationVisReport,__call__,#SemanticSegmentationVisReport#,205

Before Change


            plot.subplot(2, 2, 1)
            plot.imshow(chw_to_pil_image(vis_img))
            plot.axis("off")
            plot.subplot(2, 2, 3)
            plot.imshow(pred_label, vmin=-1, vmax=21)
            plot.axis("off")
            plot.subplot(2, 2, 4)
            plot.imshow(gt_label, vmin=-1, vmax=21)

After Change


            ax1 = f.add_subplot(2, 2, 1)
            vis_image(vis_img, ax=ax1)
            plot.axis("off")
            ax3 = f.add_subplot(2, 2, 3)
            ax3.imshow(pred_label, vmin=-1, vmax=self.n_class)
            plot.axis("off")
            ax4 = f.add_subplot(2, 2, 4)
            ax4.imshow(gt_label, vmin=-1, vmax=self.n_class)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: chainer/chainercv
Commit Name: 5f0bcd410402c54dfa34818005e8f77a65498aa2
Time: 2017-04-29
Author: yuyuniitani@gmail.com
File Name: chainercv/extensions/semantic_segmentation/semantic_segmentation_vis_report.py
Class Name: SemanticSegmentationVisReport
Method Name: __call__