I have train.py 1 which can train an model with data and save it as a pkl. Now, I load the pkl in another .py. However the model seems to be trained again while I load it.
Here is my code.
import torch
model = torch.load('a-b.pkl')

And it run the train.py 1 again which means that I can’t get my the model I saved before.