Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
iProzd committed Feb 27, 2024
1 parent 796d870 commit c2f306c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/pt/model/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def get_spin_model(model_params):
model_params["fitting_net"]["exclude_types"] = atom_exclude_types
# descriptor
model_params["descriptor"]["ntypes"] = ntypes
descriptor = Descriptor(**model_params["descriptor"])
descriptor = BaseDescriptor(**model_params["descriptor"])
# fitting
fitting_net = model_params.get("fitting_net", None)
fitting_net["type"] = fitting_net.get("type", "ener")
Expand Down

0 comments on commit c2f306c

Please sign in to comment.