From 22de18bd2036f35b606c10c9999bd216fdf944c2 Mon Sep 17 00:00:00 2001 From: Yifan Li Date: Tue, 6 Jun 2023 00:22:50 -0400 Subject: [PATCH] fix the missing modifier issue of dp compress --- deepmd/entrypoints/train.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deepmd/entrypoints/train.py b/deepmd/entrypoints/train.py index c806fb3804..aed1e3af77 100755 --- a/deepmd/entrypoints/train.py +++ b/deepmd/entrypoints/train.py @@ -260,6 +260,9 @@ def _do_work(jdata: Dict[str, Any], run_opt: RunOptions, is_compress: bool = Fal valid_data[data_systems].print_summary( f"validation in {data_systems}" ) + else: + if modifier is not None: + modifier.build_fv_graph() # get training info stop_batch = j_must_have(jdata["training"], "numb_steps")