From 3630de8d41e18d27861fcc242b1ab77572726430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martyna=20Wi=C4=85cek?= <martynawiacek@e-science.pl> Date: Sun, 3 Mar 2024 20:35:01 +0000 Subject: [PATCH] Update main.py --- combo/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combo/main.py b/combo/main.py index b813074..699abb2 100755 --- a/combo/main.py +++ b/combo/main.py @@ -304,7 +304,7 @@ def set_seed(seed: int) -> None: def run(_): - if FLAGS.seed: + if FLAGS.seed is not None: set_seed(FLAGS.seed) if FLAGS.mode == 'train': -- GitLab