Skip to content

Commit bcff396

Browse files
committed
use train colors only
2 parents ce74a5c + bf6a37e commit bcff396

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

cliport/utils/utils.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,12 +1063,7 @@ def get_colors(mode, n_colors=-1, **kwargs):
10631063
return [COLORS[cn] for cn in all_color_names], all_color_names
10641064

10651065
def get_colors_names(mode):
1066-
if mode == 'train':
1067-
return TRAIN_COLORS
1068-
elif mode == 'full':
1069-
return TRAIN_COLORS
1070-
else:
1071-
return TRAIN_COLORS
1066+
return TRAIN_COLORS
10721067

10731068
def get_random_color():
10741069
return get_colors(mode='train', n_colors=1)

0 commit comments

Comments
 (0)