/
metro_trial.py
44 lines (34 loc) · 1.67 KB
/
metro_trial.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
import os
import warnings
warnings.filterwarnings("ignore")
shared_params_st_mgcn = ('python DCRNN.py '
'--Dataset Metro '
'--CT 6 '
'--PT 0 '
'--TT 0 '
'--K 1 '
'--LSTMUnits 64 '
'--LSTMLayers 1 '
'--DataRange All '
'--TrainDays 365 '
'--TC 0.7 '
'--TD 5000 '
'--TI 30 '
'--Epoch 20000 '
'--Train True '
'--lr 1e-4 '
'--patience 0.1 '
'--ESlength 100 '
'--BatchSize 16 '
'--MergeWay sum '
'--Device 1 '
'--CodeVersion V0')
if __name__ == "__main__":
os.system(shared_params_st_mgcn + ' --City Shanghai --Graph Distance --MergeIndex 1')
os.system(shared_params_st_mgcn + ' --City Chongqing --Graph Distance --MergeIndex 1')
os.system(shared_params_st_mgcn + ' --City Shanghai --Graph Distance --MergeIndex 3')
os.system(shared_params_st_mgcn + ' --City Chongqing --Graph Distance --MergeIndex 3')
os.system(shared_params_st_mgcn + ' --City Shanghai --Graph Distance --MergeIndex 6')
os.system(shared_params_st_mgcn + ' --City Chongqing --Graph Distance --MergeIndex 6')
os.system(shared_params_st_mgcn + ' --City Shanghai --Graph Distance --MergeIndex 12')
os.system(shared_params_st_mgcn + ' --City Chongqing --Graph Distance --MergeIndex 12')