Home > other >  Encountered this error when Keras save the model
Encountered this error when Keras save the model

Time:09-19

Traceback (the most recent call last) :
The File "" train" py, "line 58, in
Model. Load_weights (' model_data/ep003 - loss5.451 - val_loss4. 962. The h5 ', by_name=True, skip_mismatch=True)
The File "/home/mist/local/lib/python3.6/site - packages/keras/engine/topology. Py", line 2647, in load_weights
With h5py. The File (filepath, mode='r') as f:
The File "/usr/local/lib/python3.6/dist - packages/h5py _hl/files. Py", line 408, in __init__
SWMR=SWMR)
The File "/usr/local/lib/python3.6/dist - packages/h5py _hl/files. Py", line 173, in make_fid
Fid=h5f. Open (name, flags, fapl=fapl)
File "h5py/_objects pyx," line, 54 in h5py. _objects. With_phil. Wrapper
The File "h5py/_objects pyx", line 55, in h5py. _objects. With_phil. Wrapper
The File "h5py/h5f pyx", line 88, in h5py. H5f. Open
RuntimeError: Can 't decrement id ref count (unable to close the file, errno=5, the error message=' Input/output error ')
Segmentation fault (core dumped)
  • Related