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

keras.datasets.mnist.load_data() is not working, #5

Open
talregev opened this issue Mar 8, 2019 · 1 comment
Open

keras.datasets.mnist.load_data() is not working, #5

talregev opened this issue Mar 8, 2019 · 1 comment

Comments

@talregev
Copy link

talregev commented Mar 8, 2019

Run keras with theano aipy over oneplus 3t with qpython and aipy
keras.datasets.mnist.load_data() is not working,
I set path='' argument to many paths and also download the npz file but still it want to go to /tmp folder that it read only.

In the end i download the file manually and open it with numpy.
Can you fix that?

/data/user/0/org.qpython.qpy/files/bin/qpython-android5.sh "/storage/emulated/0/qpython/tal.py" && exit
ge/emulated/0/qpython/tal.py" && exit    <
Using Theano backend.
/data/user/0/org.qpython.qpy/files/lib/python2.7/site-packages/theano/configdefaults.py:560: UserWarning: DeprecationWarning: there is no c++ compiler.This is deprecated and with Theano 0.11 a c++ compiler will be mandatory
  warnings.warn("DeprecationWarning: there is no c++ compiler."
WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.
( library_dirs = /data/user/0/org.qpython.qpy/files/lib )
( include_dirs = /data/user/0/org.qpython.qpy/files/include )
( library_dirs = /data/user/0/org.qpython.qpy/files/lib )
( library_dirs = /data/user/0/org.qpython.qpy/files/lib )
( library_dirs = /data/user/0/org.qpython.qpy/files/lib )
( library_dirs = /data/user/0/org.qpython.qpy/files/lib )
( library_dirs = /data/user/0/org.qpython.qpy/files/lib )
( library_dirs = /data/user/0/org.qpython.qpy/files/lib )
( library_dirs = /data/user/0/org.qpython.qpy/files/lib )
( src_dirs = . )
WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions.
Traceback (most recent call last):
  File "/storage/emulated/0/qpython/tal.py", line 18, in <module>
    (x_train, y_train), (x_test, y_test) = mnist.load_data()
  File "/data/user/0/org.qpython.qpy/files/lib/python2.7/site-packages/keras/datasets/mnist.py", line 23, in load_data
    file_hash='8a61469f7ea1b51cbae51d4f78837e45')
  File "/data/user/0/org.qpython.qpy/files/lib/python2.7/site-packages/keras/utils/data_utils.py", line 182, in get_file
    os.makedirs(datadir)
  File "/data/user/0/org.qpython.qpy/files/lib/python27.zip/os.py", line 150, in makedirs
  File "/data/user/0/org.qpython.qpy/files/lib/python27.zip/os.py", line 150, in makedirs
  File "/data/user/0/org.qpython.qpy/files/lib/python27.zip/os.py", line 157, in makedirs
OSError: [Errno 30] Read-only file system: '/tmp'
1|OnePlus3T:/ $
@talregev talregev changed the title Keras over theano not working. keras.datasets.mnist.load_data() is not working, Mar 10, 2019
@molgrumbler
Copy link

molgrumbler commented Jan 1, 2020

I have the same problem. Is there any solution?

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