-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnohup_basic-basic_bootea.txt
315 lines (293 loc) · 15.1 KB
/
nohup_basic-basic_bootea.txt
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
load arguments: {'training_data': '../../datasets/', 'output': '../../output/results/Paper/eCommerceData/', 'dataset_division': '721_5fold', 'embedding_module': 'BootEA', 'alignment_module': 'swapping', 'search_module': 'greedy', 'dim': 100, 'init': 'normal', 'ent_l2_norm': True, 'rel_l2_norm': True, 'loss': 'limited', 'loss_norm': 'L2', 'learning_rate': 0.01, 'optimizer': 'Adagrad', 'max_epoch': 2000, 'batch_size': 5000, 'pos_margin': 0.01, 'neg_margin': 2.0, 'neg_margin_balance': 0.2, 'neg_sampling': 'truncated', 'neg_triple_num': 10, 'truncated_epsilon': 0.9, 'truncated_freq': 10, 'batch_threads_num': 2, 'test_threads_num': 4, 'ordered': True, 'start_valid': 100, 'eval_freq': 10, 'stop_metric': 'hits1', 'eval_metric': 'inner', 'csls': 10, 'top_k': [1, 5, 10, 50], 'is_save': True, 'eval_norm': False, 'sim_th': 0.7, 'k': 10, 'likelihood_slice': 10, 'sub_epoch': 10}
BootEA
<openea.modules.args.args_hander.ARGs object at 0x7f382d51d748>
read relation triples: ../../datasets/Ontologies/Paper/eCommerceData/Basic-Basic/rel_triples_1
read relation triples: ../../datasets/Ontologies/Paper/eCommerceData/Basic-Basic/rel_triples_2
read attribute triples: ../../datasets/Ontologies/Paper/eCommerceData/Basic-Basic/attr_triples_1
read attribute triples: ../../datasets/Ontologies/Paper/eCommerceData/Basic-Basic/attr_triples_2
read links: ../../datasets/Ontologies/Paper/eCommerceData/Basic-Basic/721_5fold/1/train_links
read links: ../../datasets/Ontologies/Paper/eCommerceData/Basic-Basic/721_5fold/1/valid_links
read links: ../../datasets/Ontologies/Paper/eCommerceData/Basic-Basic/721_5fold/1/test_links
Number of rt_dict: 938
Number of hr_dict: 1
entity relations dict: 938
Number of av_dict: 938
entity attributes dict: 938
KG statistics:
Number of entities: 939
Number of relations: 1
Number of attributes: 8
Number of relation triples: 938
Number of attribute triples: 53611
Number of local relation triples: 938
Number of local attribute triples: 53611
Number of rt_dict: 938
Number of hr_dict: 1
entity relations dict: 938
Number of av_dict: 938
entity attributes dict: 938
KG statistics:
Number of entities: 939
Number of relations: 1
Number of attributes: 8
Number of relation triples: 938
Number of attribute triples: 53611
Number of local relation triples: 938
Number of local attribute triples: 53611
Number of rt_dict: 938
Number of hr_dict: 1
entity relations dict: 938
Number of av_dict: 938
entity attributes dict: 938
KG statistics:
Number of entities: 939
Number of relations: 1
Number of attributes: 8
Number of relation triples: 938
Number of attribute triples: 53611
Number of local relation triples: 938
Number of local attribute triples: 53611
Number of rt_dict: 938
Number of hr_dict: 1
entity relations dict: 938
Number of av_dict: 938
entity attributes dict: 938
KG statistics:
Number of entities: 939
Number of relations: 1
Number of attributes: 8
Number of relation triples: 938
Number of attribute triples: 53611
Number of local relation triples: 938
Number of local attribute triples: 53611
supervised relation triples: 469, 469
supervised attribute triples: 27510, 27510
../../output/results/Paper/eCommerceData/ ../../datasets/Ontologies/Paper/eCommerceData/Basic-Basic/ ['..', '..', 'datasets', 'Ontologies', 'Paper', 'eCommerceData', 'Basic-Basic'] 721_5fold/1/ BootEA
results output folder: ../../output/results/Paper/eCommerceData/BootEA/Basic-Basic/721_5fold/1/20231020214926/
iteration 1
epoch 1, avg. triple loss: 2.9601, cost time: 0.8364s
epoch 2, avg. triple loss: 2.4489, cost time: 0.6067s
epoch 3, avg. triple loss: 2.1238, cost time: 0.5946s
epoch 4, avg. triple loss: 1.8881, cost time: 0.6551s
epoch 5, avg. triple loss: 1.7048, cost time: 0.7021s
epoch 6, avg. triple loss: 1.5601, cost time: 0.6805s
epoch 7, avg. triple loss: 1.4407, cost time: 0.7136s
epoch 8, avg. triple loss: 1.3425, cost time: 1.0805s
epoch 9, avg. triple loss: 1.2605, cost time: 0.8982s
epoch 10, avg. triple loss: 1.1910, cost time: 0.8546s
generating neighbors of 1878 entities costs 1.237 s.
iteration 2
epoch 11, avg. triple loss: 1.1352, cost time: 0.8095s
epoch 12, avg. triple loss: 1.0818, cost time: 0.8691s
epoch 13, avg. triple loss: 1.0379, cost time: 0.7694s
epoch 14, avg. triple loss: 0.9962, cost time: 0.8571s
epoch 15, avg. triple loss: 0.9605, cost time: 0.8751s
epoch 16, avg. triple loss: 0.9280, cost time: 1.0537s
epoch 17, avg. triple loss: 0.8991, cost time: 1.2183s
epoch 18, avg. triple loss: 0.8732, cost time: 0.8062s
epoch 19, avg. triple loss: 0.8489, cost time: 0.6457s
epoch 20, avg. triple loss: 0.8247, cost time: 0.9809s
generating neighbors of 1878 entities costs 1.035 s.
iteration 3
epoch 21, avg. triple loss: 0.8164, cost time: 0.9951s
epoch 22, avg. triple loss: 0.7880, cost time: 0.8419s
epoch 23, avg. triple loss: 0.7701, cost time: 0.9258s
epoch 24, avg. triple loss: 0.7498, cost time: 0.9563s
epoch 25, avg. triple loss: 0.7325, cost time: 1.0313s
epoch 26, avg. triple loss: 0.7162, cost time: 0.7597s
epoch 27, avg. triple loss: 0.7006, cost time: 0.7789s
epoch 28, avg. triple loss: 0.6851, cost time: 0.7923s
epoch 29, avg. triple loss: 0.6711, cost time: 0.7787s
epoch 30, avg. triple loss: 0.6573, cost time: 0.7441s
generating neighbors of 1878 entities costs 1.273 s.
iteration 4
epoch 31, avg. triple loss: 0.7029, cost time: 0.7391s
epoch 32, avg. triple loss: 0.6453, cost time: 0.7817s
epoch 33, avg. triple loss: 0.6330, cost time: 0.7361s
epoch 34, avg. triple loss: 0.6200, cost time: 0.7257s
epoch 35, avg. triple loss: 0.6082, cost time: 0.5934s
epoch 36, avg. triple loss: 0.5966, cost time: 0.7868s
epoch 37, avg. triple loss: 0.5838, cost time: 0.8307s
epoch 38, avg. triple loss: 0.5744, cost time: 0.9181s
epoch 39, avg. triple loss: 0.5642, cost time: 0.7778s
epoch 40, avg. triple loss: 0.5527, cost time: 0.8601s
generating neighbors of 1878 entities costs 0.984 s.
iteration 5
epoch 41, avg. triple loss: 0.7328, cost time: 0.8658s
epoch 42, avg. triple loss: 0.5743, cost time: 0.7201s
epoch 43, avg. triple loss: 0.5609, cost time: 0.7067s
epoch 44, avg. triple loss: 0.5493, cost time: 0.5614s
epoch 45, avg. triple loss: 0.5395, cost time: 0.7362s
epoch 46, avg. triple loss: 0.5286, cost time: 0.5934s
epoch 47, avg. triple loss: 0.5219, cost time: 0.7931s
epoch 48, avg. triple loss: 0.5124, cost time: 0.8349s
epoch 49, avg. triple loss: 0.5045, cost time: 0.7633s
epoch 50, avg. triple loss: 0.4965, cost time: 0.5543s
generating neighbors of 1878 entities costs 1.002 s.
iteration 6
epoch 51, avg. triple loss: 0.8294, cost time: 0.7266s
epoch 52, avg. triple loss: 0.5557, cost time: 0.6958s
epoch 53, avg. triple loss: 0.5296, cost time: 0.7078s
epoch 54, avg. triple loss: 0.5152, cost time: 0.6104s
epoch 55, avg. triple loss: 0.5067, cost time: 0.7534s
epoch 56, avg. triple loss: 0.4974, cost time: 0.5780s
epoch 57, avg. triple loss: 0.4878, cost time: 0.6408s
epoch 58, avg. triple loss: 0.4813, cost time: 0.7439s
epoch 59, avg. triple loss: 0.4746, cost time: 0.6348s
epoch 60, avg. triple loss: 0.4667, cost time: 0.5708s
after filtering by sim threshold, right alignment: 0/1=0.000
after filtering by sim and nearest k, right alignment: 0/1=0.000
graph via graph_tool <Graph object, directed, with 2 vertices and 1 edge at 0x7f3830a80080>
after mwgm, right alignment: 0/1=0.000
mwgm costs time: 2.691 s
selecting potential alignment costs time: 2.781 s
update wrongly: 0 greedy update wrongly: 0
after editing (<-), right alignment: 0/1=0.000
after editing (->), right alignment: 0/1=0.000
newly triples: 1, 1
alignment_loss = 0.942, time = 0.180 s
generating neighbors of 1878 entities costs 0.826 s.
iteration 7
epoch 61, avg. triple loss: 0.9348, cost time: 0.7209s
epoch 62, avg. triple loss: 0.5805, cost time: 0.6390s
epoch 63, avg. triple loss: 0.5221, cost time: 0.5501s
epoch 64, avg. triple loss: 0.5048, cost time: 0.6710s
epoch 65, avg. triple loss: 0.4934, cost time: 0.7571s
epoch 66, avg. triple loss: 0.4842, cost time: 0.6077s
epoch 67, avg. triple loss: 0.4742, cost time: 0.7036s
epoch 68, avg. triple loss: 0.4664, cost time: 0.7872s
epoch 69, avg. triple loss: 0.4619, cost time: 0.5439s
epoch 70, avg. triple loss: 0.4537, cost time: 0.6889s
after filtering by sim threshold, right alignment: 1/18=0.056
after filtering by sim and nearest k, right alignment: 1/18=0.056
graph via graph_tool <Graph object, directed, with 29 vertices and 18 edges at 0x7f3830a80080>
after mwgm, right alignment: 0/11=0.000
mwgm costs time: 0.006 s
selecting potential alignment costs time: 0.021 s
update wrongly: 0 greedy update wrongly: 0
after editing (<-), right alignment: 0/12=0.000
after editing (->), right alignment: 0/12=0.000
newly triples: 12, 12
alignment_loss = 0.932, time = 0.005 s
generating neighbors of 1878 entities costs 1.212 s.
iteration 8
epoch 71, avg. triple loss: 1.0487, cost time: 0.7590s
epoch 72, avg. triple loss: 0.6604, cost time: 0.6307s
epoch 73, avg. triple loss: 0.5362, cost time: 0.7404s
epoch 74, avg. triple loss: 0.5160, cost time: 0.4587s
epoch 75, avg. triple loss: 0.5004, cost time: 0.6526s
epoch 76, avg. triple loss: 0.4876, cost time: 0.5663s
epoch 77, avg. triple loss: 0.4787, cost time: 0.7137s
epoch 78, avg. triple loss: 0.4686, cost time: 0.5977s
epoch 79, avg. triple loss: 0.4624, cost time: 0.7252s
epoch 80, avg. triple loss: 0.4537, cost time: 0.6383s
after filtering by sim threshold, right alignment: 0/86=0.000
after filtering by sim and nearest k, right alignment: 0/86=0.000
graph via graph_tool <Graph object, directed, with 109 vertices and 86 edges at 0x7f3826632e48>
after mwgm, right alignment: 0/45=0.000
mwgm costs time: 0.063 s
selecting potential alignment costs time: 0.083 s
update wrongly: 0 greedy update wrongly: 0
after editing (<-), right alignment: 0/51=0.000
after editing (->), right alignment: 0/50=0.000
newly triples: 50, 50
alignment_loss = 0.913, time = 0.008 s
generating neighbors of 1878 entities costs 0.756 s.
iteration 9
epoch 81, avg. triple loss: 1.1356, cost time: 0.6404s
epoch 82, avg. triple loss: 0.7486, cost time: 0.5686s
epoch 83, avg. triple loss: 0.5758, cost time: 0.5969s
epoch 84, avg. triple loss: 0.5396, cost time: 0.6163s
epoch 85, avg. triple loss: 0.5194, cost time: 0.6268s
epoch 86, avg. triple loss: 0.5053, cost time: 0.3870s
epoch 87, avg. triple loss: 0.4938, cost time: 0.5258s
epoch 88, avg. triple loss: 0.4845, cost time: 0.6613s
epoch 89, avg. triple loss: 0.4753, cost time: 0.7146s
epoch 90, avg. triple loss: 0.4671, cost time: 0.7173s
after filtering by sim threshold, right alignment: 1/348=0.003
after filtering by sim and nearest k, right alignment: 1/327=0.003
graph via graph_tool <Graph object, directed, with 257 vertices and 327 edges at 0x7f381836f4a8>
after mwgm, right alignment: 1/85=0.012
mwgm costs time: 0.155 s
selecting potential alignment costs time: 0.249 s
update wrongly: 0 greedy update wrongly: 0
after editing (<-), right alignment: 1/106=0.009
after editing (->), right alignment: 1/95=0.011
newly triples: 95, 95
alignment_loss = 0.904, time = 0.009 s
generating neighbors of 1878 entities costs 0.840 s.
iteration 10
epoch 91, avg. triple loss: 1.2260, cost time: 0.4682s
epoch 92, avg. triple loss: 0.8424, cost time: 0.5803s
epoch 93, avg. triple loss: 0.6211, cost time: 0.4889s
epoch 94, avg. triple loss: 0.5658, cost time: 0.6536s
epoch 95, avg. triple loss: 0.5440, cost time: 0.7304s
epoch 96, avg. triple loss: 0.5262, cost time: 0.6877s
epoch 97, avg. triple loss: 0.5121, cost time: 0.7541s
epoch 98, avg. triple loss: 0.5008, cost time: 0.3740s
epoch 99, avg. triple loss: 0.4912, cost time: 0.6147s
epoch 100, avg. triple loss: 0.4820, cost time: 0.6635s
quick results: hits@[1, 5, 10, 50] = [0. 2.128 2.128 8.511]%, time = 0.712 s
after filtering by sim threshold, right alignment: 1/412=0.002
after filtering by sim and nearest k, right alignment: 1/384=0.003
graph via graph_tool <Graph object, directed, with 272 vertices and 384 edges at 0x7f381835a9e8>
after mwgm, right alignment: 1/96=0.010
mwgm costs time: 0.090 s
selecting potential alignment costs time: 0.183 s
update wrongly: 0 greedy update wrongly: 0
after editing (<-), right alignment: 1/138=0.007
after editing (->), right alignment: 1/113=0.009
newly triples: 113, 113
alignment_loss = 0.907, time = 0.006 s
quick results: hits@[1, 5, 10, 50] = [ 0. 1.064 1.064 10.638]%, time = 0.491 s
generating neighbors of 1878 entities costs 0.683 s.
iteration 11
epoch 101, avg. triple loss: 1.2666, cost time: 0.7067s
epoch 102, avg. triple loss: 0.9006, cost time: 0.6213s
epoch 103, avg. triple loss: 0.6641, cost time: 0.5271s
epoch 104, avg. triple loss: 0.5924, cost time: 0.6153s
epoch 105, avg. triple loss: 0.5653, cost time: 0.5177s
epoch 106, avg. triple loss: 0.5456, cost time: 0.4511s
epoch 107, avg. triple loss: 0.5323, cost time: 0.4480s
epoch 108, avg. triple loss: 0.5162, cost time: 0.6799s
epoch 109, avg. triple loss: 0.5072, cost time: 0.6403s
epoch 110, avg. triple loss: 0.4967, cost time: 0.7074s
quick results: hits@[1, 5, 10, 50] = [0. 1.064 3.191 7.447]%, time = 0.760 s
after filtering by sim threshold, right alignment: 0/187=0.000
after filtering by sim and nearest k, right alignment: 0/187=0.000
graph via graph_tool <Graph object, directed, with 206 vertices and 187 edges at 0x7f38183a4978>
after mwgm, right alignment: 0/73=0.000
mwgm costs time: 0.026 s
selecting potential alignment costs time: 0.040 s
update wrongly: 0 greedy update wrongly: 0
after editing (<-), right alignment: 1/136=0.007
after editing (->), right alignment: 1/119=0.008
newly triples: 119, 119
alignment_loss = 0.920, time = 0.009 s
quick results: hits@[1, 5, 10, 50] = [0. 1.064 3.191 7.447]%, time = 0.649 s
generating neighbors of 1878 entities costs 1.061 s.
iteration 12
epoch 111, avg. triple loss: 1.2825, cost time: 0.7552s
epoch 112, avg. triple loss: 0.9345, cost time: 0.5948s
epoch 113, avg. triple loss: 0.7034, cost time: 0.7097s
epoch 114, avg. triple loss: 0.6187, cost time: 0.3523s
epoch 115, avg. triple loss: 0.5862, cost time: 0.6990s
epoch 116, avg. triple loss: 0.5633, cost time: 0.4654s
epoch 117, avg. triple loss: 0.5471, cost time: 0.5911s
epoch 118, avg. triple loss: 0.5334, cost time: 0.6069s
epoch 119, avg. triple loss: 0.5193, cost time: 0.6578s
epoch 120, avg. triple loss: 0.5108, cost time: 0.5576s
quick results: hits@[1, 5, 10, 50] = [0. 1.064 2.128 6.383]%, time = 0.585 s
== should early stop ==
Training ends. Total time = 114.170 s.
accurate results: hits@[1, 5, 10, 50] = [ 0.8 2.667 4.533 13.333]%, mr = 190.533, mrr = 0.025167, time = 0.460 s
accurate results with csls: csls=10, hits@[1, 5, 10, 50] = [ 0.533 2.933 3.467 12.533]%, mr = 190.947, mrr = 0.022341, time = 0.567 s
Results saved!
../../output/results/Paper/eCommerceData/BootEA/Basic-Basic/721_5fold/1/20231020214926/kg1_ent_ids saved.
../../output/results/Paper/eCommerceData/BootEA/Basic-Basic/721_5fold/1/20231020214926/kg2_ent_ids saved.
../../output/results/Paper/eCommerceData/BootEA/Basic-Basic/721_5fold/1/20231020214926/kg1_rel_ids saved.
../../output/results/Paper/eCommerceData/BootEA/Basic-Basic/721_5fold/1/20231020214926/kg2_rel_ids saved.
../../output/results/Paper/eCommerceData/BootEA/Basic-Basic/721_5fold/1/20231020214926/kg1_attr_ids saved.
../../output/results/Paper/eCommerceData/BootEA/Basic-Basic/721_5fold/1/20231020214926/kg2_attr_ids saved.
Embeddings saved!
Total run time = 120.799 s.