The truth value of an array with more than one element is ambiguous - Loading a model saved in h5 format keras 2.2.4
It turns out that the solution to this problem is in the version of h5py.
If you have h5py == 3.1.* then you need to downgraded it to h5py == 2.10.0
Version of Keras needs to be 2.2.4
Or you can upgrade the version of Keras to 2.2.5