Skip to content

Commit bf6a37e

Browse files
authored
Update utils.py
1 parent c339d0d commit bf6a37e

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

cliport/utils/utils.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,15 +1058,16 @@ def get_colors(mode, n_colors=-1, **kwargs):
10581058
return [COLORS[cn] for cn in all_color_names], all_color_names
10591059

10601060
def get_colors_names(mode):
1061-
if mode == 'train':
1062-
return TRAIN_COLORS
1063-
elif mode == 'full':
1064-
return TRAIN_COLORS + EVAL_COLORS
1065-
else:
1066-
return EVAL_COLORS
1061+
return TRAIN_COLORS
1062+
# if mode == 'train':
1063+
# return TRAIN_COLORS
1064+
# elif mode == 'full':
1065+
# return TRAIN_COLORS + EVAL_COLORS
1066+
# else:
1067+
# return EVAL_COLORS
10671068

10681069
def get_random_color():
1069-
return self.get_colors(mode='train', n_colors=1)
1070+
return get_colors(mode='train', n_colors=1)
10701071

10711072
def solve_hanoi_all(n_disks):
10721073
# Solve Hanoi sequence with dynamic programming.

0 commit comments

Comments
 (0)