Kerass で AttributeError: 'str' object has no attribute 'decode' が出た
Kerasで保存したモデルをロードする際に
AttributeError: 'str' object has no attribute 'decode'
というエラーが出た.
KerasとTesorflowのバージョンの組み合わせだけでなく h5py
も変更したら直った.
pip install h5py==2.10.0
KerasとTensorflowのバージョンは以下の通り.
keras: 2.2.4
tensorflow-1.14.0
バージョンは適宜更新する必要があり?