Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Chengqian-Zhang committed Oct 22, 2024
1 parent b39a9da commit 484cfc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions deepmd/pt/model/atomic_model/base_atomic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import logging
from typing import (
Callable,
Dict,
Optional,
Union,
)
Expand Down
2 changes: 2 additions & 0 deletions deepmd/pt/utils/stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ def compute_output_stats(
bias_atom_e, std_atom_e = {}, {}
for kk in keys:
# use atomic bias whenever available
from IPython import embed
embed()
if kk in bias_atom_a:
bias_atom_e[kk] = bias_atom_a[kk]
std_atom_e[kk] = std_atom_a[kk]
Expand Down

0 comments on commit 484cfc5

Please sign in to comment.