Skip to content

Commit ab48d90

Browse files
authored
Feat: output logs on freezing models (deepmodeling#4165)
`dp --pt freeze` does not output whether the operation finishes successfully. This PR adds a log message on it.
1 parent 0b3f860 commit ab48d90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deepmd/pt/entrypoints/main.py

+1
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ def freeze(FLAGS):
354354
FLAGS.output,
355355
extra_files,
356356
)
357+
log.info(f"Saved frozen model to {FLAGS.output}")
357358

358359

359360
def change_bias(FLAGS):

0 commit comments

Comments
 (0)