From c050d8f9d90392470151ea6fc1f765b375d4de33 Mon Sep 17 00:00:00 2001 From: thanhvc3 Date: Wed, 17 May 2023 14:08:06 +0700 Subject: [PATCH] add grid search --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index d5d9329..6be60a4 100644 --- a/main.py +++ b/main.py @@ -676,7 +676,7 @@ if __name__ == "__main__": neg_ent = neg_ent.cpu() inputs = [] - for i in len(sub): + for i in range(len(sub)): input = {} input['sub'] = sub[i] input['rel'] = rel[i]