original_keras_version = f.attrs[‘keras_version‘].decode(‘utf8‘) AttributeError: ‘str‘ object has

Solution:
uninstall the original h5py module and install version 2.10

pip install h5py==2.10 -i https://pypi.tuna.tsinghua.edu.cn/simple/

Read More: