Correctly save the model's state_dict
We should try to save the model's state_dict instead of simply saving the object.
This is recommended by PyTorch themselves.
We should try to save the model's state_dict instead of simply saving the object.
This is recommended by PyTorch themselves.