test
This commit is contained in:
parent
6d43b88599
commit
a064d12763
1
main.py
1
main.py
@ -102,6 +102,7 @@ class Main(object):
|
|||||||
|
|
||||||
self.p.num_ent = len(self.ent2id)
|
self.p.num_ent = len(self.ent2id)
|
||||||
self.p.num_rel = len(self.rel2id) // 2
|
self.p.num_rel = len(self.rel2id) // 2
|
||||||
|
print("Num rel: " + str(self.p.num_rel))
|
||||||
self.p.embed_dim = self.p.k_w * \
|
self.p.embed_dim = self.p.k_w * \
|
||||||
self.p.k_h if self.p.embed_dim is None else self.p.embed_dim
|
self.p.k_h if self.p.embed_dim is None else self.p.embed_dim
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user