Skip to content

Commit

Permalink
Merge pull request #32 from guotong1988/patch-5
Browse files Browse the repository at this point in the history
For Python3, Update transH.py
  • Loading branch information
THUCSTHanxu13 committed Jul 30, 2020
2 parents 6a73a82 + 7360731 commit 85365c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions transH.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
class Config(object):

def __init__(self):
lib.setInPath("./data/FB15K/")
test_lib.setInPath("./data/FB15K/")
path = "./data/FB15K/"
lib.setInPath(path, len(path))
test_lib.setInPath(path, len(path))
lib.setBernFlag(0)
self.learning_rate = 0.001
self.testFlag = False
Expand Down

0 comments on commit 85365c8

Please sign in to comment.