coxlab / prednet

Code and models accompanying "Deep Predictive Coding Networks for Video Prediction and Unsupervised Learning"
https://arxiv.org/abs/1605.08104
MIT License
759 stars 259 forks source link

load the dataset .hkl file error #88

Open zlwangustc opened 2 years ago

zlwangustc commented 2 years ago

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 commented 2 years ago

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

ur-licht commented 6 months ago

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][:]