Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running trackgesture.py file #23

Closed
rajm893 opened this issue Jun 19, 2018 · 0 comments
Closed

Error while running trackgesture.py file #23

rajm893 opened this issue Jun 19, 2018 · 0 comments

Comments

@rajm893
Copy link

rajm893 commented Jun 19, 2018

I got this error when running the trackgesture.py file. The error occurred while loading the ori_4015imgs_weights.hdf5 file.

File "trackgesture.py", line 299, in
Main()
File "trackgesture.py", line 180, in Main
mod = myNN.loadCNN(w)
File "/home/raj/CNNGestureRecognizer-master/gestureCNN.py", line 174, in loadCNN
model.load_weights(fname)
File "/home/raj/anaconda3/envs/gest2/lib/python2.7/site-packages/keras/engine/network.py", line 1171, in load_weights
with h5py.File(filepath, mode='r') as f:
File "/home/raj/anaconda3/envs/gest2/lib/python2.7/site-packages/h5py/_hl/files.py", line 312, in init
fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
File "/home/raj/anaconda3/envs/gest2/lib/python2.7/site-packages/h5py/_hl/files.py", line 142, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 78, in h5py.h5f.open
IOError: Unable to open file (file signature not found)

@rajm893 rajm893 closed this as completed Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant