Why are my saved models identical?

Hi,

I’ve been training a model and saving it at each epoch using:

torch.save(cnn.state_dict(), filepath)

The saved models seem all the same. They are identical in size and the pth.tar contains the same files.
What am I doing wrong?

Thanks in advance!
A

Why wouldn’t they be the same size? The model and number of parameters are the same so the size of the files should be the same.