I trained a binary classification model that was providing predicted outputs within the range 0 - 1 (Sigmoid activation function outputting predictions). This was working as desired as below:
[[0.8134029 ]
[0.20651695]
...
[0.18252395]
[0.87311405]]
However, after saving the model and trying to re-load and use it on the same data the output has changed to:
[[1.]
[0.]
...
[0.]
[1.]]
Is there a way to return the output as described at the beginning when re-loading a saved model?