-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrunner.sh
More file actions
71 lines (62 loc) · 1.12 KB
/
runner.sh
File metadata and controls
71 lines (62 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/bin/bash
TRAINARGS=\
"\
--dataname sg \
--scaler_type minmax \
--flowmatcher sb \
--agent_type triplet \
--t_sampler stratified \
--diff_ref miniflow \
--window_size 2 \
--spline cubic \
--monotonic \
--modelname mlp \
--modeldepth 2 \
--method exact \
--batch_size 64 \
--n_steps 200 \
--n_epochs 5 \
--sigma 0.15 \
--lr 1e-4 \
--w_len 16 \
--zt 0 1 2 3 4 5 6 \
--hold_one_out 5
"
INFERENCEARGS=\
"\
--n_infer 100 \
--t_infer 100
"
EVALARGS=\
"\
--eval_method nearest \
--eval_zt_idx 5 \
--reg 0.1
"
PLOTARGS=\
"\
--plot_d1 0 \
--plot_d2 1 \
--plot_n_background 100 \
--plot_n_highlight 15 \
--plot_n_pairs 10 \
--plot_n_trajs 5 \
--plot_n_snaps 11 \
--plot_interval 200 \
--plot_fps 5
"
WANDBARGS=\
"\
--entity <YOUR ENTITY HERE> \
--project <YOUR PROJECT HERE> \
--run_name sg
"
#--no_wandb
MISCARGS=\
"\
--outdir sg
"
ARGS="$TRAINARGS $INFERENCEARGS $EVALARGS $PLOTARGS $WANDBARGS $MISCARGS"
echo $(which python)
echo python scripts/main.py $ARGS
python scripts/main.py $ARGS