9bf08f2a47ff3cd4d7d52547a389eb2dc3ed0dcd,chainercv/visualizations/vis_label.py,,vis_label,#Any#Any#Any#Any#Any#Any#,6
Before Change
label_names = [str(l) for l in range(label.max() + 1)]
if label_colors is None:
cmap = plot.get_cmap()
else:
// [0, 255] -> [0, 1]
label_colors = np.array(label_colors) / 255
cmap = matplotlib.colors.ListedColormap(label_colors)
After Change
if label_names is None:
label_names = [str(l) for l in range(label.max() + 1)]
if label_colors is None:
label_colors = [_default_cmap(l) for l in range(n_class)]
// [0, 255] -> [0, 1]
label_colors = np.array(label_colors) / 255
cmap = matplotlib.colors.ListedColormap(label_colors)
img = cmap(label / (n_class - 1), alpha=alpha)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: chainer/chainercv
Commit Name: 9bf08f2a47ff3cd4d7d52547a389eb2dc3ed0dcd
Time: 2017-05-27
Author: Hakuyume@users.noreply.github.com
File Name: chainercv/visualizations/vis_label.py
Class Name:
Method Name: vis_label
Project Name: CNuge/kaggle-code
Commit Name: b7990885d8b26b9404fd9ce952b0b2f005019594
Time: 2018-01-12
Author: nugentc@uoguelph.ca
File Name: california_housing/feature_engineering.py
Class Name:
Method Name:
Project Name: danforthcenter/plantcv
Commit Name: 4da4eb2efc5aebbdd83fae53fb56c720fffa6127
Time: 2015-08-19
Author: maliadong@gmail.com
File Name: lib/plantcv/analyze_color.py
Class Name:
Method Name: _pseudocolored_image