Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 26, 2024
1 parent 25a803c commit dc64307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/pt/utils/stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def make_stat_input(datasets, dataloaders, nbatches):
collect_elements = set()
all_element = set()
for i in lst:
collect_values = np.unique(i['atype'].cpu().numpy())
collect_values = np.unique(i["atype"].cpu().numpy())
collect_elements.update(collect_values)
for i in datasets:
all_elements_in_dataset = i.get_all_atype
Expand Down

0 comments on commit dc64307

Please sign in to comment.