Skip to content

Commit

Permalink
chore: modify set_seed logging message #9
Browse files Browse the repository at this point in the history
  • Loading branch information
GangBean committed May 13, 2024
1 parent 0c7dc5c commit 57adaef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 57adaef

Please sign in to comment.