写在前边:
前提:没有'__reduce_cython__'属性
报错展示:
AttributeError: type object 'h5py.h5r.Reference' has no attribute '__reduce_cython__'
问题:keras框架中的Cython和h5py版本冲突问题
解决过程:
调整版本,以答主的版本为例:
原始冲突版本:
python==3.6.5
Cython==0.29.0
h5py==2.9.0
调整好没有冲突的版本:
python==3.6
Cython==0.27
h5py==2.8.0