From 57adaef0132a101a151797f4e0ef78eb4b540003 Mon Sep 17 00:00:00 2001 From: GangBean Date: Mon, 13 May 2024 03:12:10 +0000 Subject: [PATCH] chore: modify set_seed logging message #9 --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 0abcded..9313c72 100644 --- a/utils.py +++ b/utils.py @@ -12,7 +12,7 @@ from functools import wraps def set_seed(seed: int): - logger.info("seed setting...") + logger.info(f"[utils] set seed as {seed}...") random.seed(seed) os.environ["PYTHONHASHSEED"] = str(seed) np.random.seed(seed)