forked from rezaakb/pinns-torch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
82 lines (70 loc) · 1.23 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
defaults:
- train
- _self_
n_train: 5_000
mesh:
_target_: pinnstorch.data.PointCloud
root_dir: ${paths.data_dir}
read_data_fn: ???
train_datasets:
- mesh_sampler:
_target_: pinnstorch.data.MeshSampler
_partial_: true
num_sample: ${n_train}
solution:
- u
- v
collection_points:
- f_u
- f_v
val_dataset:
- mesh_sampler:
_target_: pinnstorch.data.MeshSampler
_partial_: true
solution:
- u
- v
- p
pred_dataset:
- mesh_sampler:
_target_: pinnstorch.data.MeshSampler
_partial_: true
idx_t: 100
solution:
- u
- v
- p
net:
_target_: pinnstorch.models.FCN
layers: [3, 20, 20, 20, 20, 20, 20, 20, 20, 2]
output_names:
- psi
- p
model:
extra_variables:
l1: 0.0
l2: 0.0
trainer:
accelerator: gpu
max_epochs: 250000
devices: [0]
deterministic: false
check_val_every_n_epoch: 250001
train: true
val: true
test: false
optimized_metric:
error:
- u
- v
- p
extra_variables:
- l1
- l2
plotting:
_target_: pinnstorch.utils.plot_navier_stokes
_partial_: true
task_name: navier_stokes
hydra:
searchpath:
- pkg://pinnstorch/conf