Skip to content

Commit

Permalink
omit seed log
Browse files Browse the repository at this point in the history
  • Loading branch information
iProzd committed Feb 28, 2024
1 parent 66d03b8 commit e9e0d95
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion deepmd/pt/model/task/ener.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
1 change: 0 additions & 1 deletion deepmd/pt/model/task/fitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e9e0d95

Please sign in to comment.