Reputation: 31
I have trained model with keras
and saved in with the help of pytorch
. Will it cause any problems in the future. As far as I know the only difference between them is Keras saves its model's weights as doubles while PyTorch saves its weights as floats.
Upvotes: 0
Views: 263
Reputation: 106
You can convert your model to double by doing
model.double()
Note that after this, you will need your input to be DoubleTensor.
Upvotes: 1