keras加载模型出错 IOError: Unable to open file (File signature not found)
又一次加载时报错了,IOError: Unable to open file (File signature not found)
h5py\_objects.pyx in h5py._objects.with_phil.wrapper (C:\aroot\work\h5py\_objects.c:2579)()
h5py\_objects.pyx in h5py._objects.with_phil.wrapper (C:\aroot\work\h5py\_objects.c:2538)()
h5py\h5f.pyx in h5py.h5f.open (C:\aroot\work\h5py\h5f.c:1813)()
OSError: Unable to open file (File signature not found)
原因:model.h5内容丢失了,大小为59k
重新训练一个正常的model.h5就可以了