Skip to content

Commit 34cf73f

Browse files
committed
mind_loss
1 parent e74853e commit 34cf73f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/recall/mind/mind_reader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def __iter__(self):
6161
item_list = self.graph[user_id]
6262
if len(item_list) <= 4:
6363
continue
64+
random.seed(12345)
6465
k = random.choice(range(4, len(item_list)))
6566
item_id = item_list[k]
6667

0 commit comments

Comments
 (0)