mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
[Fix] Fix wrong palette value in vaihingen (#1292)
This commit is contained in:
parent
304df56c78
commit
1abf76decf
@ -232,7 +232,7 @@ def potsdam_palette():
|
||||
|
||||
def vaihingen_palette():
|
||||
"""Vaihingen palette for external use."""
|
||||
return [[255, 255, 255], [0, 0, 255], [0, 0, 255], [0, 255, 0],
|
||||
return [[255, 255, 255], [0, 0, 255], [0, 255, 255], [0, 255, 0],
|
||||
[255, 255, 0], [255, 0, 0]]
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@ class ISPRSDataset(CustomDataset):
|
||||
CLASSES = ('impervious_surface', 'building', 'low_vegetation', 'tree',
|
||||
'car', 'clutter')
|
||||
|
||||
PALETTE = [[255, 255, 255], [0, 0, 255], [0, 0, 255], [0, 255, 0],
|
||||
PALETTE = [[255, 255, 255], [0, 0, 255], [0, 255, 255], [0, 255, 0],
|
||||
[255, 255, 0], [255, 0, 0]]
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
|
Loading…
x
Reference in New Issue
Block a user