yushuang88 commited on
Commit
203213d
·
verified ·
1 Parent(s): 7077652

Add model configuration

Browse files
Files changed (1) hide show
  1. config.json +69 -0
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ONO"
4
+ ],
5
+ "framework": "pytorch",
6
+ "model_name": "ONO",
7
+ "model_type": "ono",
8
+ "source_config": "conf/config.yaml",
9
+ "root": {
10
+ "common": {
11
+ "device": "auto",
12
+ "seed": 0
13
+ },
14
+ "datapipe": {
15
+ "source": {
16
+ "data_dir": "/public/share/sugonhpcapp01/onestore/onedatasets/CFD_Benchmark/ns",
17
+ "file_name": "NavierStokes_V1e-5_N1200_T20.mat"
18
+ },
19
+ "data": {
20
+ "ntrain": 1000,
21
+ "ntest": 200,
22
+ "t_in": 10,
23
+ "t_out": 10,
24
+ "out_dim": 1,
25
+ "downsamplex": 1,
26
+ "downsampley": 1,
27
+ "normalize": false
28
+ },
29
+ "dataloader": {
30
+ "batch_size": 8,
31
+ "num_workers": 4,
32
+ "pin_memory": true
33
+ }
34
+ },
35
+ "model": {
36
+ "in_dim": 10,
37
+ "out_dim": 1,
38
+ "hidden_dim": 64,
39
+ "num_layers": 4,
40
+ "num_heads": 4,
41
+ "space_dim": 2,
42
+ "include_pos": true,
43
+ "dropout": 0.0,
44
+ "activation": "gelu",
45
+ "mlp_ratio": 1,
46
+ "attn_type": "nystrom",
47
+ "psi_dim": 8
48
+ },
49
+ "training": {
50
+ "epochs": 500,
51
+ "lr": 0.001,
52
+ "weight_decay": 1e-05,
53
+ "step_size": 100,
54
+ "gamma": 0.5,
55
+ "eval_interval": 1,
56
+ "patience": 100,
57
+ "teacher_forcing": false,
58
+ "max_grad_norm": 0.1,
59
+ "max_train_batches": null,
60
+ "max_eval_batches": null,
61
+ "weight_dir": "weight",
62
+ "checkpoint_name": "ono_navier_stokes.pt"
63
+ },
64
+ "inference": {
65
+ "result_dir": "result",
66
+ "num_samples": 4
67
+ }
68
+ }
69
+ }