出现错误
AttributeError: module 'h5py.h5' has no attribute 'CYTHON_VERSION_COMPILED_WITH'
原因跟上一篇文章一样,是tensorflow版本和h5py版本匹配。上一篇文章比较粗暴的解决方法,设置了h5py2.8.0,这回我们搜一下真正对应的版本。我用的tensorflow1.14,对应的
pip install h5py==2.9.0 -i https://pypi.tuna.tsinghua.edu.cn/simple