Show

metatrain.cli.show.show_model(path: Path | str, extensions_directory: str | Path | None = None) None[source]

Show the contents of a saved model.

This prints a summary of a checkpoint (.ckpt) or exported model (.pt), including architecture, targets that the model can predict, atomic types the model supports and the attached metadata.

Parameters:
  • path (Path | str) – local or remote path to the model file (either a .ckpt checkpoint or an exported .pt model)

  • extensions_directory (str | Path | None) – path to a directory containing all extensions required by an exported model

Return type:

None