Unknown initializer: GlorotUniform when loading Keras model

前端 未结 10 1899
心在旅途
心在旅途 2020-11-29 04:43

I trained my CNN (VGG) through google colab and generated .h5 file. Now problem is, I can predict my output successfully through google colab but when i download that .h5 tr

10条回答
  •  心在旅途
    2020-11-29 05:02

    I ran into the same issue. After changing:

    from tensorflow import keras

    to:

    import keras

    life is once again worth living.

提交回复
热议问题