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

HDF5 error / Unable to open train_data_processed.h5 #5

Closed
AmethystZeroAtwell opened this issue Mar 7, 2019 · 2 comments
Closed

HDF5 error / Unable to open train_data_processed.h5 #5

AmethystZeroAtwell opened this issue Mar 7, 2019 · 2 comments

Comments

@AmethystZeroAtwell
Copy link

AmethystZeroAtwell commented Mar 7, 2019

Hello,when I run combi_models an error occur
here is the error messages
Traceback (most recent call last):
File "d:\RCB\Street-View-House-Numbers-SVHN-Detection-and-Classification-using-CNN-master\combi_models.py", line 47, in
train_data = pd.read_hdf(os.path.join(root_dir,'data','train_data_processed.h5'),'table')
File "D:\ANACONDA\lib\site-packages\pandas\io\pytables.py", line 389, in read_hdf
return store.select(key, auto_close=auto_close, **kwargs)
File "D:\ANACONDA\lib\site-packages\pandas\io\pytables.py", line 740, in select
return it.get_result()
File "D:\ANACONDA\lib\site-packages\pandas\io\pytables.py", line 1518, in get_result
results = self.func(self.start, self.stop, where)
File "D:\ANACONDA\lib\site-packages\pandas\io\pytables.py", line 733, in func
columns=columns)
File "D:\ANACONDA\lib\site-packages\pandas\io\pytables.py", line 2995, in read
start=_start, stop=_stop)
File "D:\ANACONDA\lib\site-packages\pandas\io\pytables.py", line 2540, in read_array
ret = node[0][start:stop]
File "D:\ANACONDA\lib\site-packages\tables\vlarray.py", line 681, in getitem
return self.read(start, stop, step)[0]
File "D:\ANACONDA\lib\site-packages\tables\vlarray.py", line 821, in read
listarr = self._read_array(start, stop, step)
File "tables\hdf5extension.pyx", line 2155, in tables.hdf5extension.VLArray._read_array
ValueError: cannot set WRITEABLE flag to True of this array

Thank you in advance.

@pavitrakumar78
Copy link
Owner

Hi,

Please check this thread: pandas-dev/pandas#24839

This seems to be something very recent. Let me know if downgrading solves the problem.

@AmethystZeroAtwell
Copy link
Author

I run conda install numpy==1.15.4 and solve the problem successfully.Thank you so much!

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

2 participants