deepspatial.core.DeepSpatial.load_checkpoint

deepspatial.core.DeepSpatial.load_checkpoint#

DeepSpatial.load_checkpoint(ckpt_path: str, config_path: str | None = None, sampling_method: str = 'dopri5')[source]#

Loads model weights and metadata for inference or resuming.

Parameters:
  • ckpt_path – Path to the .ckpt file.

  • config_path – Path to config.json. Defaults to the same folder as ckpt_path.

  • sampling_method – Overrides the ODE solver for this inference session.