-
Notifications
You must be signed in to change notification settings - Fork 5
/
res_gearnet_2nd.yaml
71 lines (64 loc) · 1.32 KB
/
res_gearnet_2nd.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
output_dir: ~/scratch/siamdiff_outputs
dataset:
class: AlphaFoldDB
path: ~/scratch/protein-datasets/alphafold
species_start: 0
species_end: 21
# species_id: 3
# split_id: 1
transform:
class: Compose
transforms:
- class: ProteinView
view: residue
- class: TruncateProtein
max_length: 150
random: True
- class: NoiseTransform
noise_type: gaussian
sigma: 0.3
task:
class: SiamDiff
num_mlp_layer: 3
sigma_begin: 1.0e-4
sigma_end: 1.0e-4
num_noise_level: 5
gamma: 0.2
use_MI: True
model:
class: GearNet
input_dim: 21
hidden_dims: [ 512, 512, 512, 512, 512, 512 ]
batch_norm: True
concat_hidden: True
short_cut: True
readout: 'sum'
num_relation: 7
edge_input_dim: 59
num_angle_bin: 8
graph_construction_model:
class: GraphConstruction
node_layers:
- class: AlphaCarbonNode
edge_layers:
- class: SequentialEdge
max_distance: 2
- class: SpatialEdge
radius: 10.0
min_distance: 5
- class: KNNEdge
k: 10
min_distance: 5
edge_feature: gearnet
optimizer:
class: Adam
lr: 1.0e-4
engine:
gpus: [0] #, 1, 2, 3]
batch_size: 16
log_interval: 100
save_interval: 5
save_model: True
model_checkpoint: {{ ckpt }}
train:
num_epoch: 1 # 25