Skip to content

Commit 43cffa6

Browse files
author
zhuango
committed
reproduction
1 parent acc2cba commit 43cffa6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

model/MNM.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
import torch.nn.functional as F
99
import torch.nn as nn
1010

11-
torch.manual_seed(2333)
12-
myRandom = np.random.RandomState(2333)
11+
# for reproduction
12+
torch.manual_seed(2018)
13+
myRandom = np.random.RandomState(2018)
1314

1415
class KBMemory():
1516
def __init__(self, wordEmbed, entityEmbed, wordVectorLength, hopNumber, classNumber, cuda=True):

0 commit comments

Comments
 (0)