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

load the dataset .hkl file error #88

Open
zlwangustc opened this issue Nov 1, 2021 · 2 comments
Open

load the dataset .hkl file error #88

zlwangustc opened this issue Nov 1, 2021 · 2 comments

Comments

@zlwangustc
Copy link

ValueError: Provided argument 'file_obj' does not appear to be a valid hickle file! (HDF5-file does not have the proper attributes!)
i use python3.6 and try hickle 3.x 4.x,but all error

@LXRuuu
Copy link

LXRuuu commented Dec 16, 2021

Did you solve it,?I have the same problem as you.

@ur-licht
Copy link

ur-licht commented Mar 9, 2024

I got the same issue, don't know why this happens, but the file can be read with h5py.
with h5py.File(self.datafile, 'r') as f: key = list(f.keys())[0] self.X = f[key][:] with h5py.File(self.sourcefile, 'r') as f: key = list(f.keys())[0] self.sources = f[key][:]

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

3 participants