deepmd.tf.entrypoints.freeze
Script for freezing TF trained graph so it can be used with LAMMPS and i-PI.
References
Module Contents
Functions
| Freeze the graph in supplied folder. |
- deepmd.tf.entrypoints.freeze.freeze(*, checkpoint_folder: str, output: str, node_names: str | None = None, nvnmd_weight: str | None = None, united_model: bool = False, **kwargs)[source]
Freeze the graph in supplied folder.
- Parameters:
- checkpoint_folder
str
location of either the folder with checkpoint or the checkpoint prefix
- output
str
output file name
- node_names
Optional
[str
],optional
names of nodes to output, by default None
- nvnmd_weight
Optional
[str
],optional
nvnmd weight file
- united_modelbool
when in multi-task mode, freeze all nodes into one unit model
- **kwargs
other arguments
- checkpoint_folder