diff --git a/ppdet/utils/colormap.py b/ppdet/utils/colormap.py index 566185ef90390e2f45747bee48e3b008f7dfc0e9..a9cdbe891c28d3ee58eda1bce4debe789e03086f 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 566185ef90390e2f45747bee48e3b008f7dfc0e9..a9cdbe891c28d3ee58eda1bce4debe789e03086f 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,