tf2-keras载入模型时报错‘src‘ object has no attribute ‘decode‘ 解决

尝试了多种办法,发现是h5py版本过高导致的。原来是3.1.0版本的h5py
先卸载当前版本,再安装低版本即可

pip uninstall h5py
pip install h5py==2.10.0

猜你喜欢

转载自blog.csdn.net/qq_38337524/article/details/109967051