Skip to content

Latest commit

 

History

History
 
 

save_load_example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

How to save and load your model using TorchQuantum?

Here is an example:

run python examples/save_load_example/train_and_store.py to train your model and torchpack will automatically save it to a checkpoint file.

run python examples/save_load_example/load_and_eval.py to load your model from checkpoint file and evaluate it.