Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Cannot open 'cnn.hdf5' 'rnn.hdf5' #2

Closed
cjpark87 opened this issue Dec 7, 2017 · 1 comment
Closed

Cannot open 'cnn.hdf5' 'rnn.hdf5' #2

cjpark87 opened this issue Dec 7, 2017 · 1 comment

Comments

@cjpark87
Copy link

cjpark87 commented Dec 7, 2017

I am trying to run the example code you posted in README.md. But, when loading the model hdf5 file, it shows an error.

File "h5py/h5f.pyx", line 78, in h5py.h5f.open
OSError: Unable to open file (file signature not found)

It seems like the model files are corrupted when I try to run "h5debug cnn.hdf5".

HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 139994803136256:
#000: ../../../src/H5F.c line 604 in H5Fopen(): unable to open file
major: File accessibilty
minor: Unable to open file
#1: ../../../src/H5Fint.c line 1087 in H5F_open(): unable to read superblock
major: File accessibilty
minor: Read failed
#2: ../../../src/H5Fsuper.c line 277 in H5F_super_read(): file signature not found
major: File accessibilty
minor: Not an HDF5 file
cannot open file

Could you check the model files again?

FYI, I am running your code in Ubuntu 16.04 with python3

@skjerns
Copy link
Owner

skjerns commented Dec 8, 2017

I fixed the links. should work now. Re-clone to get the new links.

@skjerns skjerns closed this as completed Jan 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants