-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdml.sh
More file actions
109 lines (91 loc) · 2.3 KB
/
Copy pathdml.sh
File metadata and controls
109 lines (91 loc) · 2.3 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
d=${1:-"cora"}
s=${2:-"pyg"}
public=${3:-"True"}
repeat=${4:-"5"}
RN=none
log_path=logs/dml/
mkdir -p $log_path
v=1.0
IN=nIN-nSN
g=0
f=512
layers=1
lr=0.001
l2_coef=0.00000
pre_dropout=0
hid_dropout=0.5
clf_dropout=0.5
m=GCN
agg_type=gcn
nohup bash -c "
for hops in 3 8 10 16 32 64;
do
PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:21 python -u -m scripts.d_M_L \\
-g \"$g\" -f \"$f\" -d \"$d\" -s \"$s\" -m \"$m\" -v \"$v\" \\
-IN \"$IN\" -RN \"$RN\" -hops \"\$hops\" -layers \"$layers\" \\
-lr \"$lr\" -l2_coef \"$l2_coef\" \\
--pre_dropout \"$pre_dropout\" \\
--hid_dropout \"$hid_dropout\" \\
--clf_dropout \"$clf_dropout\" \\
--agg_type \"$agg_type\" -n ln \\
--public \"$public\" --repeat \"$repeat\"
done
" > $log_path/GCN-$d.log 2>&1 & echo $!
RN=concat
log_path=logs/dml/
mkdir -p $log_path
v=1.0
IN=IN-SN
g=1
f=512
layers=1
lr=0.001
l2_coef=0.00000
pre_dropout=0
hid_dropout=0.5
clf_dropout=0.5
m=c-IGNN
agg_type=gcn_incep
nohup bash -c "
for hops in 3 8 10 16 32 64;
do
PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:21 python -u -m scripts.d_M_L \\
-g \"$g\" -f \"$f\" -d \"$d\" -s \"$s\" -m \"$m\" -v \"$v\" \\
-IN \"$IN\" -RN \"$RN\" -hops \"\$hops\" -layers \"$layers\" \\
-lr \"$lr\" -l2_coef \"$l2_coef\" \\
--pre_dropout \"$pre_dropout\" \\
--hid_dropout \"$hid_dropout\" \\
--clf_dropout \"$clf_dropout\" \\
--agg_type \"$agg_type\" -n ln \\
--public \"$public\" --repeat \"$repeat\"
done
" > $log_path/c-IGNN-$d.log 2>&1 & echo $!
RN=residual
log_path=logs/dml/
mkdir -p $log_path
v=1.0
IN=IN-nSN
g=2
f=512
layers=1
lr=0.001
l2_coef=0.00000
pre_dropout=0
hid_dropout=0.5
clf_dropout=0.5
m=r-IGNN
agg_type=gcn
nohup bash -c "
for hops in 3 8 10 16 32 64;
do
PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:21 python -u -m scripts.d_M_L \\
-g \"$g\" -f \"$f\" -d \"$d\" -s \"$s\" -m \"$m\" -v \"$v\" \\
-IN \"$IN\" -RN \"$RN\" -hops \"\$hops\" -layers \"$layers\" \\
-lr \"$lr\" -l2_coef \"$l2_coef\" \\
--pre_dropout \"$pre_dropout\" \\
--hid_dropout \"$hid_dropout\" \\
--clf_dropout \"$clf_dropout\" \\
--agg_type \"$agg_type\" -n ln \\
--public \"$public\" --repeat \"$repeat\"
done
" > $log_path/r-IGNN-$d.log 2>&1 & echo $!