未验证 提交 70753f5d 编写于 作者: K Kaipeng Deng 提交者: GitHub

add citation for ppdet/utils/colormap.py (#4466)

上级 ce04964e
......@@ -23,6 +23,8 @@ import numpy as np
def colormap(rgb=False):
"""
Get colormap
The code of this function is copied from https://github.com/facebookresearch/Detectron/blob/main/detectron/utils/colormap.py
"""
color_list = np.array([
0.000, 0.447, 0.741, 0.850, 0.325, 0.098, 0.929, 0.694, 0.125, 0.494,
......
......@@ -23,6 +23,8 @@ import numpy as np
def colormap(rgb=False):
"""
Get colormap
The code of this function is copied from https://github.com/facebookresearch/Detectron/blob/main/detectron/utils/colormap.py
"""
color_list = np.array([
0.000, 0.447, 0.741, 0.850, 0.325, 0.098, 0.929, 0.694, 0.125, 0.494,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册