1、安装tensorflow1.13.1
https://blog.csdn.net/xxx_gt/article/details/88990963
2、安装keras2.2.4
https://blog.csdn.net/fy_1852003327/article/details/105716094
3、安装keras-contrib
使用语句
pip install git+https://www.github.com/keras-team/keras-contrib.git
有可能会报错:
那就把https改成http
4、报错
报错:‘h5py.h5.H5PYConfig‘ has no attribute ‘reduce_cython‘
原因:pip和conda都安装了h5py,pip和conda的安装存在区别,卸载掉一个
pip uninstall h5py
解决方案:https://blog.csdn.net/zhanghao_0517/article/details/109630391
5、报错
报错:Model h5py has no attribute Group
解决方案:pip install h5py==2.8.0rc1