From 3f2ce63dc791e415272a96f7747b26d382e635b9 Mon Sep 17 00:00:00 2001 From: Kaipeng Deng Date: Fri, 12 Nov 2021 10:41:37 +0800 Subject: [PATCH] add citation for ppdet/utils/colormap.py (#4469) --- ppdet/utils/colormap.py | 2 ++ static/ppdet/utils/colormap.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ppdet/utils/colormap.py b/ppdet/utils/colormap.py index 566185ef9..a9cdbe891 100644 --- a/ppdet/utils/colormap.py +++ b/ppdet/utils/colormap.py @@ -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, diff --git a/static/ppdet/utils/colormap.py b/static/ppdet/utils/colormap.py index 566185ef9..a9cdbe891 100644 --- a/static/ppdet/utils/colormap.py +++ b/static/ppdet/utils/colormap.py @@ -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, -- GitLab