Skip to content

Commit

Permalink
solve serialize UT error
Browse files Browse the repository at this point in the history
  • Loading branch information
Chengqian-Zhang committed Aug 27, 2024
1 parent a865f23 commit 3fd5697
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deepmd/dpmodel/fitting/property_fitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def __init__(
rcond: Optional[float] = None,
trainable: Union[bool, List[bool]] = True,
intensive: bool = False,
bias_method: str = "normal",
resnet_dt: bool = True,
numb_fparam: int = 0,
numb_aparam: int = 0,
Expand All @@ -44,6 +45,7 @@ def __init__(
):
self.task_dim = task_dim
self.intensive = intensive
self.bias_method = bias_method
super().__init__(
var_name="property",
ntypes=ntypes,
Expand Down

0 comments on commit 3fd5697

Please sign in to comment.