Skip to content

Commit

Permalink
use tuple palette
Browse files Browse the repository at this point in the history
  • Loading branch information
JingweiZhang12 committed May 12, 2023
1 parent 9432c38 commit 920a897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mmdet3d/datasets/s3dis_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ class S3DISDataset(Det3DDataset):
'seg_valid_class_ids': (7, 8, 9, 10, 11),
'seg_all_class_ids':
tuple(range(1, 14)), # possibly with 'stair' class
'palette': [[170, 120, 200], [255, 0, 0], [200, 100, 100],
[10, 200, 100], [200, 200, 200]]
'palette': [(170, 120, 200), (255, 0, 0), (200, 100, 100),
(10, 200, 100), (200, 200, 200)]
}

def __init__(self,
Expand Down

0 comments on commit 920a897

Please # to comment.