Skip to content

Commit

Permalink
check stat.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SumGuo-88 committed Jan 10, 2025
1 parent 58647f3 commit 4ce9cfb
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 @@ -161,7 +161,7 @@ def finalize_stats(sys_stat):

# get frame index
if datasets[0].mixed_type and enable_element_completion:
element_counts, type_map = dataset.get_frame_index_for_elements()
element_counts, type_name = dataset.get_frame_index_for_elements()
for new_idx, elem_name in type_name.items():
if new_idx not in global_type_name:
global_type_name[new_idx] = elem_name
Expand Down

0 comments on commit 4ce9cfb

Please sign in to comment.