File tree Expand file tree Collapse file tree 20 files changed +504
-223
lines changed Expand file tree Collapse file tree 20 files changed +504
-223
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ environment:
2525 trajectory_path : " trajectories"
2626 cfd_dtype : " float64"
2727 action_bounds : [-1.0, 1.0]
28- reward_scale : 1
2928 reward_beta : 0.2
3029 case_names : ["retau_05200"]
3130 executable_path : " /scratch/maochao/code/CaLES/build/cales"
@@ -46,7 +45,6 @@ runner:
4645 ckpt_num : 1000000
4746 ckpt_interval : 1
4847 batch_size : 1
49- previous_run_id : " 00000000"
5048
5149logging :
5250 save_dir : ' ../runs'
@@ -59,3 +57,8 @@ smartsim:
5957
6058extras :
6159 n_cells : 16
60+ tauw_min_percent : 0.8
61+ tauw_max_percent : 1.2
62+ hwm_min : 0.075
63+ hwm_max : 0.150
64+ kap_log : 0.41
Original file line number Diff line number Diff line change 33rm -r __pycache__ trajectories envs tensorboard_logs wandb
44
55python -u ../../src/smartflow/main.py \
6- runner.previous_run_id= " s6qjwiph " \
6+ runner.model_load_path= " /scratch/maochao/code/SmartFlow/experiments/train_retau_05200/models/final/yjkxqlf3 " \
77 runner.steps_per_episode=3600 \
88 > out 2> err
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ environment:
2525 trajectory_path : " trajectories"
2626 cfd_dtype : " float64"
2727 action_bounds : [-1.0, 1.0]
28- reward_scale : 1
2928 reward_beta : 0.2
3029 case_names : ["retau_10000"]
3130 executable_path : " /scratch/maochao/code/CaLES/build/cales"
@@ -46,7 +45,6 @@ runner:
4645 ckpt_num : 1000000
4746 ckpt_interval : 1
4847 batch_size : 1
49- previous_run_id : " 00000000"
5048
5149logging :
5250 save_dir : ' ../runs'
@@ -59,3 +57,8 @@ smartsim:
5957
6058extras :
6159 n_cells : 16
60+ tauw_min_percent : 0.8
61+ tauw_max_percent : 1.2
62+ hwm_min : 0.075
63+ hwm_max : 0.150
64+ kap_log : 0.41
Original file line number Diff line number Diff line change 33rm -r __pycache__ trajectories envs tensorboard_logs wandb
44
55python -u ../../src/smartflow/main.py \
6- runner.previous_run_id= " s6qjwiph " \
6+ runner.model_load_path= " /scratch/maochao/code/SmartFlow/experiments/train_retau_05200/models/final/yjkxqlf3 " \
77 runner.steps_per_episode=3600 \
88 > out 2> err
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11wandb :
22 project : " channel"
3- run_name : " train-retau-5200 "
3+ run_name : " train-retau-05200 "
44 mode : " online"
55 sync_tensorboard : true
66 # group: null # Optional
@@ -12,8 +12,8 @@ environment:
1212 agents_per_cfd : 48
1313 tasks_per_cfd : 4
1414 cfd_state_dim : 2
15- cfd_reward_dim : 2
1615 cfd_action_dim : 1
16+ cfd_reward_dim : 2
1717 agent_state_dim : 2
1818 agent_action_dim : 1
1919 cfd_steps_per_action : 10
@@ -25,7 +25,6 @@ environment:
2525 trajectory_path : " trajectories"
2626 cfd_dtype : " float64"
2727 action_bounds : [-1.0, 1.0]
28- reward_scale : 1
2928 reward_beta : 0.2
3029 case_names : ["retau_05200"]
3130 executable_path : " /scratch/maochao/code/CaLES/build/cales"
@@ -36,7 +35,7 @@ runner:
3635 restart : false
3736 policy : " MlpPolicy"
3837 reset_num_timesteps : true
39- total_cfd_episodes : 200
38+ total_cfd_episodes : 3200
4039 steps_per_episode : 120
4140 hidden_layers : [128, 128]
4241 learning_rate : 5e-4
@@ -46,7 +45,6 @@ runner:
4645 ckpt_num : 1000000
4746 ckpt_interval : 1
4847 batch_size : 1
49- previous_run_id : " 6fc75ig6"
5048
5149logging :
5250 save_dir : ' ../runs'
@@ -59,3 +57,8 @@ smartsim:
5957
6058extras :
6159 n_cells : 16
60+ tauw_min_percent : 0.8
61+ tauw_max_percent : 1.2
62+ hwm_min : 0.075
63+ hwm_max : 0.150
64+ kap_log : 0.41
Original file line number Diff line number Diff line change 1- #! /bin/bash
2- # shopt -s extglob
3- # rm -r train __pycache__ experiment DRLsignals
4- # cd train-0
5- # rm -r !(input*|stats*|fld_0.bin)
6- # cd ..
7-
8- # cd train-1
9- # rm -r !(input*|stats*|fld_0.bin)
10- # cd ..
11-
12- # cd train-2
13- # rm -r !(input*|stats*|fld_0.bin)
14- # cd ..
15-
16- # python -u main.py > job.out 2> job.err
17-
181rm -r __pycache__ trajectories envs tensorboard_logs wandb models/checkpoints
192
203python -u ../../src/smartflow/main.py \
214 runner.mode=train \
5+ runner.total_cfd_episodes=400 \
226 runner.restart=False \
237 runner.reset_num_timesteps=True \
248 > out 2> err
You can’t perform that action at this time.
0 commit comments