examples/research_projects/visual_bert/visualizing_image.py/SingleImageViz/_random_color
class SingleImageViz:    def _random_color(self, maximum=255):
        idx = np.random.randint(0, len(_COLORS))
        ret = _COLORS[idx] * maximum
        if not self.rgb:
            ret = ret[::-1]
        return ret