-
Notifications
You must be signed in to change notification settings - Fork 4
/
train_qm9.py
50 lines (44 loc) · 1.16 KB
/
train_qm9.py
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
from train.qm9_trainer import train_qm9
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--seed', type=int, default=12345)
arg = parser.parse_args()
seed = arg.seed
PE_PATH = 'net/0909.pt'
train_qm9(seed=seed,
use_cuda=True,
limit=-1,
use_tqdm=False,
use_pos=False,
force_save=True,
position_encoder_path='',
tag='qm9_nopos@{}'.format(seed)
)
train_qm9(seed=seed,
use_cuda=True,
limit=-1,
use_tqdm=False,
use_pos=True,
force_save=True,
position_encoder_path='',
tag='qm9_3pos@{}'.format(seed)
)
train_qm9(seed=seed,
use_cuda=True,
limit=-1,
use_tqdm=False,
use_pos=False,
force_save=True,
position_encoder_path=PE_PATH,
tag='qm9_pos@{}'.format(seed)
)
train_qm9(seed=seed,
use_cuda=True,
limit=-1,
use_tqdm=False,
use_pos=False,
force_save=True,
position_encoder_path=PE_PATH,
q_only=True,
tag='qm9_q_only@{}'.format(seed)
)