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)
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)