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

Unable to predict #33

Open
raghavzns opened this issue Aug 22, 2023 · 0 comments
Open

Unable to predict #33

raghavzns opened this issue Aug 22, 2023 · 0 comments

Comments

@raghavzns
Copy link

python predict.py model/model.hdf5 --ouput_file outputs/

Traceback (most recent call last):
  File "predict.py", line 28, in <module>
    seq = ECGSequence(args.path_to_hdf5, args.dataset_name, batch_size=args.bs)
  File "/media/raghav/Win11/ECG/datasets.py", line 25, in __init__
    self.x = self.f[hdf5_dset]
  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 "/home/raghav/.conda/envs/ecg/lib/python3.8/site-packages/h5py/_hl/group.py", line 264, in __getitem__
    oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
  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/h5o.pyx", line 190, in h5py.h5o.open
KeyError: "Unable to open object (object 'tracings' doesn't exist)"
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