-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtrain.yaml
48 lines (40 loc) · 1.12 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
run_name: "default"
num_epochs: 600
batch_size: 64
batch_split: 1
samples_per_lif: 4096
min_context_points: 16
lr_schedule:
# For decoder parameters
- { "Type" : "Step", "Initial" : 0.001, "Interval" : 80, "Factor" : 0.4 }
# For encoder parameters
- { "Type" : "Step", "Initial" : 0.001, "Interval" : 80, "Factor" : 0.4 }
# Dataset.
train_set:
- { "data_path": "../di-datasets/shapenet_plivoxs", "augment_rotation": 'Y', "num_surface_sample": 128, "augment_noise": [0.025, 40.0] }
# Code specification
code_bound: null
code_length: 9
# Decoder specification
network_name: "di_decoder"
network_specs:
dims: [ 128, 128, 128, 128 ]
dropout: [0, 1, 2, 3, 4, 5]
dropout_prob: 0.2
norm_layers: [0, 1, 2, 3, 4, 5]
latent_in: [3]
weight_norm: true
# Encoder specification
encoder_name: "di_vnn_encoder"
encoder_specs:
per_point_feat: [ 6, 32, 64, 256 ]
bn: {"class": "BatchNorm"}
# Snapshots saving parameters
snapshot_frequency: 100
additional_snapshots: [50]
# SDF samples
training_loss:
types: [ "neg_log_likelihood", "reg_loss" ]
enforce_minmax: true
clamping_distance: 0.2
code_reg_lambda: 1.0e-2