提交 651c4e9a 编写于 作者: M Megvii Engine Team

fix(imperative/dataset): fix VOC dataset

GitOrigin-RevId: a46a4c11733cafd7b2ccf9cec1a5f2aaf9a7ef99
上级 4566cc21
......@@ -184,3 +184,27 @@ class PascalVOC(VisionDataset):
"train",
"tvmonitor",
)
class_colors = [
[0, 0, 0], # background
[0, 0, 128],
[0, 128, 0],
[0, 128, 128],
[128, 0, 0],
[128, 0, 128],
[128, 128, 0],
[128, 128, 128],
[0, 0, 64],
[0, 0, 192],
[0, 128, 64],
[0, 128, 192],
[128, 0, 64],
[128, 0, 192],
[128, 128, 64],
[128, 128, 192],
[0, 64, 0],
[0, 64, 128],
[0, 192, 0],
[0, 192, 128],
[128, 64, 0],
]
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册