Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion deepmd/entrypoints/compress.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def compress(
int(frequency),
]
jdata["training"]["save_ckpt"] = "model-compression/model.ckpt"
jdata = updata_deepmd_input(jdata)
jdata = normalize(jdata)

# check the descriptor info of the input file
Expand Down Expand Up @@ -146,4 +147,4 @@ def _check_compress_type(model_file):
t_model_type = None

if t_model_type == "compressed_model":
raise RuntimeError("The input frozen model %s has already been compressed! Please do not compress the model repeatedly. " % model_file)
raise RuntimeError("The input frozen model %s has already been compressed! Please do not compress the model repeatedly. " % model_file)