From e9e0d95a61beeeef51d5f3bc24857487a4708ba6 Mon Sep 17 00:00:00 2001 From: Duo <50307526+iProzd@users.noreply.github.com> Date: Thu, 29 Feb 2024 02:51:00 +0800 Subject: [PATCH] omit seed log --- deepmd/pt/model/task/ener.py | 1 - deepmd/pt/model/task/fitting.py | 1 - 2 files changed, 2 deletions(-) diff --git a/deepmd/pt/model/task/ener.py b/deepmd/pt/model/task/ener.py index 55ee79db25..edd73009c5 100644 --- a/deepmd/pt/model/task/ener.py +++ b/deepmd/pt/model/task/ener.py @@ -331,7 +331,6 @@ def __init__( self.filter_layers = torch.nn.ModuleList(filter_layers) if "seed" in kwargs: - log.info("Set seed to %d in fitting net.", kwargs["seed"]) torch.manual_seed(kwargs["seed"]) def output_def(self): diff --git a/deepmd/pt/model/task/fitting.py b/deepmd/pt/model/task/fitting.py index a964f0222d..0afc718684 100644 --- a/deepmd/pt/model/task/fitting.py +++ b/deepmd/pt/model/task/fitting.py @@ -343,7 +343,6 @@ def __init__( self.filter_layers_old = None if seed is not None: - log.info("Set seed to %d in fitting net.", seed) torch.manual_seed(seed) def serialize(self) -> dict: