Skip to content

Commit

Permalink
fix: UT
Browse files Browse the repository at this point in the history
  • Loading branch information
anyangml committed Oct 31, 2024
1 parent a95d75e commit 106de1b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deepmd/dpmodel/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
from deepmd.dpmodel.fitting.ener_fitting import (
EnergyFittingNet,
)
from deepmd.dpmodel.descriptor.base_descriptor import (
BaseDescriptor,
)
from deepmd.dpmodel.model.base_model import (
BaseModel,
)
Expand Down Expand Up @@ -65,7 +68,7 @@ def get_standard_model(data: dict) -> EnergyModel:


def get_zbl_model(data: dict):
descriptor = DescrptSeA(**data["descriptor"])
descriptor = BaseDescriptor(**data["descriptor"])
fitting_type = data["fitting_net"].pop("type")
if fitting_type == "ener":
fitting = EnergyFittingNet(
Expand Down

0 comments on commit 106de1b

Please sign in to comment.