diff --git a/deepmd/dpmodel/fitting/invar_fitting.py b/deepmd/dpmodel/fitting/invar_fitting.py index e795953a75..f7c091843b 100644 --- a/deepmd/dpmodel/fitting/invar_fitting.py +++ b/deepmd/dpmodel/fitting/invar_fitting.py @@ -187,10 +187,6 @@ def compute_output_stats(self, merged): """Update the output bias for fitting net.""" raise NotImplementedError - def init_fitting_stat(self, result_dict): - """Initialize the model bias by the statistics.""" - raise NotImplementedError - def output_def(self): return FittingOutputDef( [ diff --git a/deepmd/dpmodel/fitting/make_base_fitting.py b/deepmd/dpmodel/fitting/make_base_fitting.py index 041076ba89..c7341798c3 100644 --- a/deepmd/dpmodel/fitting/make_base_fitting.py +++ b/deepmd/dpmodel/fitting/make_base_fitting.py @@ -67,10 +67,6 @@ def compute_output_stats(self, merged): """Update the output bias for fitting net.""" raise NotImplementedError - def init_fitting_stat(self, **kwargs): - """Initialize the model bias by the statistics.""" - raise NotImplementedError - @abstractmethod def serialize(self) -> dict: """Serialize the obj to dict."""