distributed_tutorial
distributed_tutorial copied to clipboard
save or load checkpoint
https://github.com/yangkky/distributed_tutorial/blob/24467967c1c719110c33fccca69353ad8e5ae2e4/src/mnist-mixed.py#L108-L114
could you add the save model line to the example to be more complete. Thanks!
torch.save(model.state_dict(), CHECKPOINT_PATH)