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...) #12

Open
Eillot29 opened this issue Apr 19, 2022 · 0 comments
Open

OSError: Unable to open file (unable to open file...) #12

Eillot29 opened this issue Apr 19, 2022 · 0 comments

Comments

@Eillot29
Copy link

Hi,there.I'm getting this error.
I had already tried to update h5py Version to 3.1.0.numpy Version: 1.19.5,but nothing works,every suggestion will be appreciated.

Traceback (most recent call last):
File "main.py", line 134, in
classifier_ensemble = Classifier_ENSEMBLE(output_dir, x_train.shape[1:], nb_classes, False)
File "/home/k8s-master/Desktop/aaltd18-master/aaltd18-master/ensemble.py", line 11, in init
+'best_model.hdf5')
File "/usr/lib/python3/dist-packages/keras/models.py", line 234, in load_model
with h5py.File(filepath, mode='r') as f:
File "/usr/local/lib/python3.6/dist-packages/h5py/_hl/files.py", line 427, in init
swmr=swmr)
File "/usr/local/lib/python3.6/dist-packages/h5py/_hl/files.py", line 190, 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 96, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = '/home/uha/hfawaz-datas/dl-tsc/results/resnet/UCR_TS_Archive_2015/Coffee/best_model.hdf5', errno = 2, error message = 'No such file or directory', 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

1 participant