blueoil
blueoil copied to clipboard
consider to remove matplotlib dependency
It might be possible to remove a dependency matplotlib. (Though I'm not sure...)
blueoil uses matplotlib only for colormaps (matplotlib.cm
). Alternatives:
- palettable: https://jiffyclub.github.io/palettable/
- colorcet: https://colorcet.pyviz.org/
We have color map implementation in lmnet... It's not enough? https://github.com/blue-oil/blueoil/blob/master/lmnet/lmnet/common.py#L28-L52
Short answer is, not enough.
-
lmnet/lmnet/common.py
defines a color map for label coloring, it's for object detection and semantic segmentation. It's widely used in the Blueoil. -
lmnet/lmnet/networks/classification/base.py
uses Jet, which is a color map for heatmap or depth image.
We don't have latter one.
Recently, Google proposed a new rainbow colormap called Turbo, it looks better alternative to Jet. https://ai.googleblog.com/2019/08/turbo-improved-rainbow-colormap-for.html
Wow, let's add the Turbo colormap. I'm ready to work on this. @iizukak This is still not fixed yet, right?