Hi,
This is the way I usually load the checkpoint. I want to know how can I check whether the checkpoint is loaded or not?
Loaded = torch.load('../model/model_baseline_x{}.pt'.format(scale))
GHR.load_state_dict(Loaded)
Hi,
This is the way I usually load the checkpoint. I want to know how can I check whether the checkpoint is loaded or not?
Loaded = torch.load('../model/model_baseline_x{}.pt'.format(scale))
GHR.load_state_dict(Loaded)
If the load_state_dict
function does not throw any error, it should be working.
Alternatively, you could print some parameter of a random layer before and after loading the state_dict
to make sure it changed.