e686762e970ee4c0748242e735c2b068b9af89cf,chainercv/extensions/semantic_segmentation/semantic_segmentation_vis_report.py,SemanticSegmentationVisReport,__call__,#SemanticSegmentationVisReport#Any#,176
Before Change
out = forward(self.target, inputs,
forward_func=self.predict_func, expand_dim=True)
self._check_type_model(out)
label = np.argmax(out[0][0], axis=0)
vis_transformed = self.vis_transform(inputs)
self._check_type_vis_transformed(vis_transformed)
vis_img = vis_transformed[0]
After Change
forward_func=self.predict_func, expand_dim=True)
self._check_type_model(out)
label = out[0] // (1, 1, H, W)
label = label[0][0] // (H, W)
vis_transformed = self.vis_transform(inputs)
self._check_type_vis_transformed(vis_transformed)

In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: chainer/chainercv
Commit Name: e686762e970ee4c0748242e735c2b068b9af89cf
Time: 2017-03-10
Author: yuyuniitani@gmail.com
File Name: chainercv/extensions/semantic_segmentation/semantic_segmentation_vis_report.py
Class Name: SemanticSegmentationVisReport
Method Name: __call__
Project Name: tensorpack/tensorpack
Commit Name: 399a74dfa594ec891c1da5553394b8155f64453d
Time: 2020-04-11
Author: ppwwyyxxc@gmail.com
File Name: examples/FasterRCNN/modeling/model_cascade.py
Class Name: CascadeRCNNHead
Method Name: match_box_with_gt
Project Name: Hironsan/anago
Commit Name: 0ad8a1c0c5fab76020058a99406aa63a3e1d61a0
Time: 2018-06-01
Author: hiroki.nakayama.py@gmail.com
File Name: anago/tagger.py
Class Name: Tagger
Method Name: _get_tags
Project Name: chainer/chainercv
Commit Name: a7706fbde22887909db42f96a696437c084c05db
Time: 2017-05-31
Author: Hakuyume@users.noreply.github.com
File Name: chainercv/evaluations/eval_detection_voc.py
Class Name:
Method Name: eval_detection_voc