Skip to content

Issue with saving the festure vectors using HDF5 #12

Description

@antaovanessa1

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions