-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigs.py
More file actions
63 lines (61 loc) · 1.62 KB
/
Copy pathconfigs.py
File metadata and controls
63 lines (61 loc) · 1.62 KB
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
DEFAULT = {
"model": "unet",
"run_name": "WaterRamps",
"data": "data/WaterRamps",
"dataset_type": "monomat2d",
"epochs": 750,
"steps_per_call": 8,
"autoregressive_steps": 4,
"grid_size": [64, 64],
"batch_size": 128,
"passes_over_buffer": 20, # Number of passes for each buffer.
"sims_in_memory": 16, # Number of simulations in one buffer.
"architecture": {
"hidden": [64, 64, 64, 64]
}, # Channels for each block of the "encoder"
"lr": 1e-3,
"min_lr": 1e-5,
"use_schedulers": True,
"skip_m_steps": True, # If True, will sample every m steps in the dataset.
"length": 0.015, # Deprecated, can be used for different voxelization kernels.
"grid_noise": 0.0,
"particle_noise": 0.0,
}
paper = {
"run_name": (
"WaterRamps",
"SandRamps",
"Goop",
"MultiMaterial",
"DamBreak2D",
"VariableGravity",
),
"data": (
"data/WaterRamps",
"data/SandRamps",
"data/Goop",
"data/MultiMaterial",
"data/DamBreak2D",
"data/VariableGravity",
),
"dataset_type": (
"monomat2d",
"monomat2d",
"monomat2d",
"multimat",
"dam2d",
"watergravity",
),
}
# Toy experiment to check installation.
toy = {
"run_name": "Debug Toy Run",
"epochs": 10,
"steps_per_call": 2,
"autoregressive_steps": 2,
"grid_size": [16, 16],
"batch_size": 16,
"passes_over_buffer": 1, # Number of passes for each buffer.
"sims_in_memory": 2, # Number of simulations in one buffer.
"architecture": {"hidden": [4, 4]},
}