datadings.sets.VOC2012 module¶
- datadings.sets.VOC2012.class_color_map(n=256)[source]¶
Create class colors as per VOC devkit.
Adapted from: https://gist.github.com/wllhf/a4533e0adebe57e3ed06d4b50c8419ae
- Parameters
n – Number of classes.
- Returns
Numpy array of shape (n, 3).