forked from mackelab/neuralgbi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrain.yaml
34 lines (30 loc) · 926 Bytes
/
train.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
results_dir: "results/gbi/two_moons"
check_val_every_n_epochs: 5
num_worker: 12
max_epochs: 100
batch_size: 256
precision: 32 # 64: extended, 32: standard, 16: half
dataset:
train_file: "data/two_moons_10000.pt"
val_file: "data/two_moons_1000.pt"
n_target: 20
noise_std: 0.1 # how strong to noise the augmentations in x_target
model:
ThetaEncoder:
output_dim: 128
architecture: [256]
activation_func: "ReLU"
final_activation: ReLU # Sigmoid only needed for cosine similarity -> otherwise null
SimulatorEncoder:
output_dim: 128
architecture: [256]
activation_func: "ReLU"
final_activation: ReLU # Sigmoid only needed for cosine similarity -> otherwise null
LatentMLP:
architecture: [256, 156, 128]
activation_func: "ReLU"
final_activation: Softplus # Sigmoid only needed for cosine similarity -> otherwise null
optimizer:
name: Adam
lr: 0.0001
weight_decay: 0