Skip to content

Commit bb15a59

Browse files
committed
move stuff around a bit
1 parent eb93927 commit bb15a59

1 file changed

Lines changed: 28 additions & 28 deletions

File tree

constellation/constellation.c

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,34 @@ const Color PUFF_CYAN = (Color){0, 187, 187, 255};
6161
const Color PUFF_WHITE = (Color){241, 241, 241, 241};
6262
const Color PUFF_BACKGROUND = (Color){6, 24, 24, 255};
6363

64+
int hyper_count = 24;
65+
char *hyper_key[24] = {
66+
"agent_steps",
67+
"uptime",
68+
"env/perf",
69+
"env/score",
70+
"train/learning_rate",
71+
"train/ent_coef",
72+
"train/gamma",
73+
"train/gae_lambda",
74+
"train/vtrace_rho_clip",
75+
"train/vtrace_c_clip",
76+
"train/clip_coef",
77+
"train/vf_clip_coef",
78+
"train/vf_coef",
79+
"train/max_grad_norm",
80+
"train/beta1",
81+
"train/beta2",
82+
"train/eps",
83+
"train/prio_alpha",
84+
"train/prio_beta0",
85+
"train/horizon",
86+
"train/replay_ratio",
87+
"train/minibatch_size",
88+
"policy/hidden_size",
89+
"vec/total_agents",
90+
};
91+
6492
typedef struct Glyph {
6593
float x;
6694
float y;
@@ -667,34 +695,6 @@ int main(void) {
667695
total_points += envs[i].hypers[0].n;
668696
}
669697

670-
int hyper_count = 24;
671-
char *hyper_key[24] = {
672-
"agent_steps",
673-
"uptime",
674-
"env/perf",
675-
"env/score",
676-
"train/learning_rate",
677-
"train/ent_coef",
678-
"train/gamma",
679-
"train/gae_lambda",
680-
"train/vtrace_rho_clip",
681-
"train/vtrace_c_clip",
682-
"train/clip_coef",
683-
"train/vf_clip_coef",
684-
"train/vf_coef",
685-
"train/max_grad_norm",
686-
"train/beta1",
687-
"train/beta2",
688-
"train/eps",
689-
"train/prio_alpha",
690-
"train/prio_beta0",
691-
"train/horizon",
692-
"train/replay_ratio",
693-
"train/minibatch_size",
694-
"policy/hidden_size",
695-
"vec/total_agents",
696-
};
697-
698698
// Create options as a semicolon-separated string
699699
size_t options_len = 0;
700700
for (int i = 0; i < hyper_count; i++) {

0 commit comments

Comments
 (0)