image-classification-python icon indicating copy to clipboard operation
image-classification-python copied to clipboard

Issue with saving the festure vectors using HDF5

Open antaovanessa1 opened this issue 4 years ago • 0 comments

Hi Sir Gogul, thanks for such a detailed post on image classification. Everything works fine in global.py till the code to save the feature vectors using HDF5 below is the error i get....And in output folder it doesn't create the two files with .h5 extension

File "c:/Users/VANESSA ANTAO/Anaconda3/python/image-classification-python-master/global.py", line 117, in h5f_data = h5py.File(h5_data, 'w') File "C:\Users\VANESSA ANTAO\Anaconda3\envs\opencv\lib\site-packages\h5py_hl\files.py", line 408, in init swmr=swmr) File "C:\Users\VANESSA ANTAO\Anaconda3\envs\opencv\lib\site-packages\h5py_hl\files.py", line 179, in make_fid fid = h5f.create(name, h5f.ACC_TRUNC, fapl=fapl, fcpl=fcpl) 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 108, in h5py.h5f.create OSError: Unable to create file (unable to open file: name = 'output/data.h5', errno = 2, error message = 'No such file or directory', flags = 13, o_flags = 302)

I really need the help for my current college project

Thanks in Anticipation

antaovanessa1 avatar Apr 20 '20 13:04 antaovanessa1