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

OSError: Unable to open file (unable to open file: name = '/path/to/trained_wts.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0) #14

Open
harshalsojitra opened this issue Dec 21, 2019 · 1 comment

Comments

@harshalsojitra
Copy link

Traceback (most recent call last):
File "predict.py", line 96, in
main(args)
File "predict.py", line 56, in main
yolo.load_weights(weights_path)
File "D:\potholes-detection-master\potholes-detection-master\frontend.py", line 243, in load_weights
self.model.load_weights(weight_path)
File "I:\Anaconda\lib\site-packages\keras\engine\network.py", line 1157, in load_weights
with h5py.File(filepath, mode='r') as f:
File "I:\Anaconda\lib\site-packages\h5py_hl\files.py", line 408, in init
swmr=swmr)
File "I:\Anaconda\lib\site-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
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5f.pyx", line 88, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = '/path/to/trained_wts.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

@maverick-27
Copy link

Same issue
OSError: Unable to open file (unable to open file: name = 'C:\Users\abc\Downloads\car\logs', errno = 13, error message = 'Permission denied', flags = 0, o_flags = 0)

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

2 participants