Hi everyone,
I got a bit of confuse in saving the model, as suggested, I did something like this:

torch.save(model.state_dict(), PATH_1)

Rerun the code, save as different file

torch.save(model.state_dict(), PATH_2)

When I use cmp command to pair between the 2 binary files, there are differences between them. It is because storing float numbers is slightly different in 2 files, even though they are still referencing to the same values.
My requirement for the project is to have the identical binary files everytime we store the same model. So this is quite troublesome.
Do you have any solution or work around to deal with this?
Thanks a lot for your support,
Cheers,