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:
25
25
trajectory_path : " trajectories"
26
26
cfd_dtype : " float64"
27
27
action_bounds : [-1.0, 1.0]
28
- reward_scale : 1
29
28
reward_beta : 0.2
30
29
case_names : ["retau_05200"]
31
30
executable_path : " /scratch/maochao/code/CaLES/build/cales"
@@ -46,7 +45,6 @@ runner:
46
45
ckpt_num : 1000000
47
46
ckpt_interval : 1
48
47
batch_size : 1
49
- previous_run_id : " 00000000"
50
48
51
49
logging :
52
50
save_dir : ' ../runs'
@@ -59,3 +57,8 @@ smartsim:
59
57
60
58
extras :
61
59
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 3
3
rm -r __pycache__ trajectories envs tensorboard_logs wandb
4
4
5
5
python -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 " \
7
7
runner.steps_per_episode=3600 \
8
8
> out 2> err
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ environment:
25
25
trajectory_path : " trajectories"
26
26
cfd_dtype : " float64"
27
27
action_bounds : [-1.0, 1.0]
28
- reward_scale : 1
29
28
reward_beta : 0.2
30
29
case_names : ["retau_10000"]
31
30
executable_path : " /scratch/maochao/code/CaLES/build/cales"
@@ -46,7 +45,6 @@ runner:
46
45
ckpt_num : 1000000
47
46
ckpt_interval : 1
48
47
batch_size : 1
49
- previous_run_id : " 00000000"
50
48
51
49
logging :
52
50
save_dir : ' ../runs'
@@ -59,3 +57,8 @@ smartsim:
59
57
60
58
extras :
61
59
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 3
3
rm -r __pycache__ trajectories envs tensorboard_logs wandb
4
4
5
5
python -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 " \
7
7
runner.steps_per_episode=3600 \
8
8
> out 2> err
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
wandb :
2
2
project : " channel"
3
- run_name : " train-retau-5200 "
3
+ run_name : " train-retau-05200 "
4
4
mode : " online"
5
5
sync_tensorboard : true
6
6
# group: null # Optional
@@ -12,8 +12,8 @@ environment:
12
12
agents_per_cfd : 48
13
13
tasks_per_cfd : 4
14
14
cfd_state_dim : 2
15
- cfd_reward_dim : 2
16
15
cfd_action_dim : 1
16
+ cfd_reward_dim : 2
17
17
agent_state_dim : 2
18
18
agent_action_dim : 1
19
19
cfd_steps_per_action : 10
@@ -25,7 +25,6 @@ environment:
25
25
trajectory_path : " trajectories"
26
26
cfd_dtype : " float64"
27
27
action_bounds : [-1.0, 1.0]
28
- reward_scale : 1
29
28
reward_beta : 0.2
30
29
case_names : ["retau_05200"]
31
30
executable_path : " /scratch/maochao/code/CaLES/build/cales"
@@ -36,7 +35,7 @@ runner:
36
35
restart : false
37
36
policy : " MlpPolicy"
38
37
reset_num_timesteps : true
39
- total_cfd_episodes : 200
38
+ total_cfd_episodes : 3200
40
39
steps_per_episode : 120
41
40
hidden_layers : [128, 128]
42
41
learning_rate : 5e-4
@@ -46,7 +45,6 @@ runner:
46
45
ckpt_num : 1000000
47
46
ckpt_interval : 1
48
47
batch_size : 1
49
- previous_run_id : " 6fc75ig6"
50
48
51
49
logging :
52
50
save_dir : ' ../runs'
@@ -59,3 +57,8 @@ smartsim:
59
57
60
58
extras :
61
59
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
-
18
1
rm -r __pycache__ trajectories envs tensorboard_logs wandb models/checkpoints
19
2
20
3
python -u ../../src/smartflow/main.py \
21
4
runner.mode=train \
5
+ runner.total_cfd_episodes=400 \
22
6
runner.restart=False \
23
7
runner.reset_num_timesteps=True \
24
8
> out 2> err
You can’t perform that action at this time.
0 commit comments