yushuang88 commited on
Commit
107d276
·
verified ·
1 Parent(s): f66dcc7

Update model configuration

Browse files
Files changed (1) hide show
  1. config.json +27 -92
config.json CHANGED
@@ -1,94 +1,29 @@
1
  {
2
- "architectures": [
3
- "Fno2d"
4
- ],
5
- "framework": "pytorch",
6
- "model_name": "CFDBench",
7
- "model_type": "cfdbench",
8
- "source_config": "conf/config.yaml",
9
- "root": {
10
- "datapipe": {
11
- "source": {
12
- "data_dir": "./data/cfdbench",
13
- "data_name": "tube_prop_bc_geo"
14
- },
15
- "verbose": true,
16
- "data": {
17
- "task_type": "auto",
18
- "norm_props": true,
19
- "norm_bc": true,
20
- "delta_time": 0.1,
21
- "stable_state_diff": 0.001,
22
- "split_ratios": [
23
- 0.7,
24
- 0.15,
25
- 0.15
26
- ],
27
- "seed": 0,
28
- "num_rows": 8,
29
- "num_cols": 8
30
- },
31
- "dataloader": {
32
- "batch_size": 2,
33
- "eval_batch_size": 2,
34
- "num_workers": 0
35
- }
36
- },
37
- "model": {
38
- "name": "fno",
39
- "num_label_samples": 64,
40
- "in_chan": 2,
41
- "out_chan": 2,
42
- "ffn_depth": 2,
43
- "ffn_width": 64,
44
- "autoffn_depth": 2,
45
- "autoffn_width": 64,
46
- "deeponet_width": 64,
47
- "branch_depth": 2,
48
- "trunk_depth": 2,
49
- "act_fn": "relu",
50
- "act_scale_invariant": true,
51
- "act_on_output": false,
52
- "autoedeeponet_width": 64,
53
- "autoedeeponet_depth": 2,
54
- "autoedeeponet_act_fn": "relu",
55
- "fno_depth": 2,
56
- "fno_hidden_dim": 16,
57
- "fno_modes_x": 4,
58
- "fno_modes_y": 4,
59
- "unet_dim": 8,
60
- "unet_insert_case_params_at": "input",
61
- "resnet_depth": 2,
62
- "resnet_hidden_chan": 16,
63
- "resnet_kernel_size": 7,
64
- "resnet_padding": 3
65
- },
66
- "training": {
67
- "output_dir": "./result",
68
- "mode": "train_test",
69
- "group_by_model": true,
70
- "device": "cpu",
71
- "num_epochs": 1,
72
- "lr": 0.001,
73
- "lr_step_size": 20,
74
- "lr_gamma": 0.9,
75
- "log_interval": 1,
76
- "eval_interval": 1,
77
- "loss_name": "nmse",
78
- "checkpoint_name": "auto"
79
- },
80
- "inference": {
81
- "checkpoint_path": "auto",
82
- "output_dir": "./result/inference",
83
- "group_by_model": true,
84
- "device": "cpu",
85
- "max_batches": 2,
86
- "plot_interval": 1
87
- },
88
- "fake_data": {
89
- "num_cases_per_subset": 4,
90
- "num_frames": 4,
91
- "seed": 123
92
- }
93
- }
94
  }
 
1
  {
2
+ "name": "fno",
3
+ "num_label_samples": 64,
4
+ "in_chan": 2,
5
+ "out_chan": 2,
6
+ "ffn_depth": 2,
7
+ "ffn_width": 64,
8
+ "autoffn_depth": 2,
9
+ "autoffn_width": 64,
10
+ "deeponet_width": 64,
11
+ "branch_depth": 2,
12
+ "trunk_depth": 2,
13
+ "act_fn": "relu",
14
+ "act_scale_invariant": true,
15
+ "act_on_output": false,
16
+ "autoedeeponet_width": 64,
17
+ "autoedeeponet_depth": 2,
18
+ "autoedeeponet_act_fn": "relu",
19
+ "fno_depth": 2,
20
+ "fno_hidden_dim": 16,
21
+ "fno_modes_x": 4,
22
+ "fno_modes_y": 4,
23
+ "unet_dim": 8,
24
+ "unet_insert_case_params_at": "input",
25
+ "resnet_depth": 2,
26
+ "resnet_hidden_chan": 16,
27
+ "resnet_kernel_size": 7,
28
+ "resnet_padding": 3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  }