@@ -14,13 +14,15 @@ default: &DEFAULT
1414 # optimization
1515 optimizer : ' adam'
1616 scheduler : ' none'
17+ loss_style : ' mean'
18+ loss_func : ' mse'
1719 learning_rate : !!float 1.0
1820 max_epochs : 500
1921 scheduler_epochs : 500
2022 weight_decay : 0
2123 batch_size : 25
2224 # misc
23- log_to_screen : !!bool False
25+ log_to_screen : !!bool True
2426 save_checkpoint : !!bool False
2527 seed : 0
2628 plot_figs : !!bool False
@@ -43,7 +45,7 @@ default: &DEFAULT
4345 accum_grad : 1
4446 enable_amp : !!bool False
4547 log_interval : 1
46- checkpoint_save_interval : 10
48+ checkpoint_save_interval : 250
4749 debug_grad : False
4850
4951helmholtz : &helmholtz
@@ -52,7 +54,7 @@ helmholtz: &helmholtz
5254 batch_size : 128
5355 nx : 128
5456 ny : 128
55- log_to_wandb : !!bool True
57+ log_to_wandb : !!bool False
5658 save_checkpoint : !!bool True
5759 max_epochs : 500
5860 scheduler : ' cosine'
@@ -76,11 +78,11 @@ helmholtz: &helmholtz
7678
7779helm-64-scale-o5_15 : &helm_64_o5_15
7880 << : *helmholtz
79- train_path : ' /path/to /helmholtz_64_o5_15_train.h5'
80- val_path : ' /path/to /helmholtz_64_o5_15_val.h5'
81- test_path : ' /path/to /helmholtz_64_o5_15_test.h5'
82- scales_path : ' /path/to /helmholtz_64_o5_15_train_scale.npy'
83- # train_rand_idx_path: '/path/to /old_gen/train_rand_idx.npy'
81+ train_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /helmholtz_64_o5_15_train.h5'
82+ val_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /helmholtz_64_o5_15_val.h5'
83+ test_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /helmholtz_64_o5_15_test.h5'
84+ scales_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /helmholtz_64_o5_15_train_scale.npy'
85+ # train_rand_idx_path: '/home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /old_gen/train_rand_idx.npy'
8486 batch_size : 128
8587 in_dim : 3
8688 out_dim : 1
@@ -99,11 +101,11 @@ helm-64-scale-o5_15: &helm_64_o5_15
99101
100102helm-64-pretrain-o1_20 : &helm_64_o1_20_pt
101103 << : *helmholtz
102- train_path : ' /path/to /helmholtz_64_o1_20_train.h5'
103- val_path : ' /path/to /helmholtz_64_o1_20_val.h5'
104- test_path : ' /path/to /helmholtz_64_o1_20_test.h5'
105- scales_path : ' /path/to /helmholtz_64_o1_20_train_scale.npy'
106- train_rand_idx_path : ' /path/to /train_rand_idx.npy'
104+ train_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /helmholtz_64_o1_20_train.h5'
105+ val_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /helmholtz_64_o1_20_val.h5'
106+ test_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /helmholtz_64_o1_20_test.h5'
107+ scales_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /helmholtz_64_o1_20_train_scale.npy'
108+ train_rand_idx_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /train_rand_idx.npy'
107109 batch_size : 128
108110 in_dim : 3
109111 out_dim : 1
@@ -126,11 +128,11 @@ helm-64-pretrain-o1_20_ft: &helm_64_o1_20_ft
126128
127129helm-64-finetune-o5_15 : &helm_64_o5_15_ft
128130 << : *helmholtz
129- train_path : ' /path/to /helmholtz_64_o5_15_train.h5'
130- val_path : ' /path/to /helmholtz_64_o5_15_val.h5'
131- test_path : ' /path/to /helmholtz_64_o5_15_test.h5'
132- scales_path : ' /path/to /helmholtz_64_o5_15_train_scale.npy'
133- train_rand_idx_path : ' /path/to /train_rand_idx.npy'
131+ train_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /helmholtz_64_o5_15_train.h5'
132+ val_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /helmholtz_64_o5_15_val.h5'
133+ test_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /helmholtz_64_o5_15_test.h5'
134+ scales_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /helmholtz_64_o5_15_train_scale.npy'
135+ train_rand_idx_path : ' /home/aistudio/data_efficient_nopt/data/helmholtz_64/helmholtz_64 /train_rand_idx.npy'
134136 batch_size : 128
135137 in_dim : 3 # normal helmholtz has 3 dim, joint has 4
136138 out_dim : 1
0 commit comments