GithubHelp home page GithubHelp logo

aipy.org's People

Contributors

riverfor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aipy.org's Issues

numpy-aipi ImportError: cannot locate symbol "acoshf" referenced by "libgfortran.so"

I installed QPython 2.0.7 and AIPY, then through QPYPI's GUI interface downloaded numpy from the AIPY tab. Started a terminal and did import numpy. Below is the output. I also tried resetting the storage and install again, I even uninstalled in re-installed QPython and AIPY, but I always got the same error. This is also preventing me from using any other of the AI packages like theano.

Python 2.7.12 (default, Sep 28 2017, 11:17:05) [GCC 4.9.x 20150123 (prerelease)] on linux4 Type "help", "copyright", "credits" or "license" for more information. >>> import numpy Traceback (most recent call last): File "", line 1, in File "/data/data/org.qpython.qpy/files/lib/python2.7/site-packages/numpy_aipy-1.13.1-py2.7.egg/numpy/init.py", line 142, in from . import add_newdocs File "/data/data/org.qpython.qpy/files/lib/python2.7/site-packages/numpy_aipy-1.13.1-py2.7.egg/numpy/add_newdocs.py", line 13, in from numpy.lib import add_newdoc File "/data/data/org.qpython.qpy/files/lib/python2.7/site-packages/numpy_aipy-1.13.1-py2.7.egg/numpy/lib/init.py", line 8, in from .type_check import * File "/data/data/org.qpython.qpy/files/lib/python2.7/site-packages/numpy_aipy-1.13.1-py2.7.egg/numpy/lib/type_check.py", line 11, in import numpy.core.numeric as _nx File "/data/data/org.qpython.qpy/files/lib/python2.7/site-packages/numpy_aipy-1.13.1-py2.7.egg/numpy/core/init.py", line 26, in raise ImportError(msg) ImportError: Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. If you're working with a numpy git repo, try git clean -xdf (removes all files not under version control). Otherwise reinstall numpy. Original error was: dlopen failed: could not load library "libopenblas.so" needed by "multiarray.so"; caused by could not load library "libgfortran.so" needed by "libopenblas.so"; caused by cannot locate symbol "acoshf" referenced by "libgfortran.so"...

Is this project dead?

I have the following question: Is this project dead? Because there has been no activity since 2018 or 2019. I really want to try out this project, but if it's dead, I don't know if I can try it...

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

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:/ $

Error when trying to run numpy

/data/data/org.qpython.qpy/files/bin/qpython.sh "/storage/emulated/0/qpython/test.py" && exit
ython/test.py" && exit <
Traceback (most recent call last):
File "/storage/emulated/0/qpython/test.py", line 1, in
import numpy
File "/data/data/org.qpython.qpy/files/lib/python2.7/site-packages/numpy_aipy-1.13.1-py2.7.egg/numpy/init.py", line 142, in
from . import add_newdocs
File "/data/data/org.qpython.qpy/files/lib/python2.7/site-packages/numpy_aipy-1.13.1-py2.7.egg/numpy/add_newdocs.py", line 13, in
from numpy.lib import add_newdoc
File "/data/data/org.qpython.qpy/files/lib/python2.7/site-packages/numpy_aipy-1.13.1-py2.7.egg/numpy/lib/init.py", line 8, in
from .type_check import *
File "/data/data/org.qpython.qpy/files/lib/python2.7/site-packages/numpy_aipy-1.13.1-py2.7.egg/numpy/lib/type_check.py", line 11, in
import numpy.core.numeric as _nx
File "/data/data/org.qpython.qpy/files/lib/python2.7/site-packages/numpy_aipy-1.13.1-py2.7.egg/numpy/core/init.py", line 26, in
raise ImportError(msg)
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try git clean -xdf (removes all
files not under version control). Otherwise reinstall numpy.

Original error was: dlopen failed: could not load library "libopenblas.so" needed by "multiarray.so"; caused by could not load library "libgfortran.so" needed by "libopenblas.so"; caused by cannot locate symbol "acoshf" referenced by "libgfortran.so"...

1|u0_a219@e5lte:/ $

Samsung Galaxy E5 (SM-E500M)
Android 4.4.4

Is there anything I can do to solve the problem?

performance Issue on keras

I install keras with theano on qpython with aipy and run simple algorithm on mnist.
It run so slow that one epoch take more than a day.

Then I install Ubuntu on my phone. the same phone before. install keras with theano and run the same mnist algorithm, it take 1min for epoch. big difference.
I download libopenblas with apt install, also liblapack and gfortran that pip install scipy with openblas.

The libraries numpy scipy and also theano are link to openblas, and my guess yours libraries are not.
Can you create numpy, scipy and theano linked to openblas. that it can be easy install (for me it take one day to setup all the stuff) and faster with performance that many people can run deep learning on the phone.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.