Git Product home page Git Product logo

aidlearning / aidlearning-framework Goto Github PK

View Code? Open in Web Editor NEW
5.5K 214.0 700.0 78.59 MB

🔥🔥🔥AidLearning is a powerful AIOT development platform, AidLearning builds a linux env supporting GUI, deep learning and visual IDE on Android...Now Aid supports CPU+GPU+NPU for inference with high performance acceleration...Linux on Android or HarmonyOS

Home Page: https://docs.aidlux.com

License: Other

Python 97.52% Shell 0.57% Java 1.91%
linux-android linux-on-android linux terminal android python python-for-android py2apk vscode jupyter

aidlearning-framework's Introduction

AidLux 1.3 正式发布!(观看视频⬆️📺)

AI,Android,Linux,ARM:基于Android+Linux融合生态的AI应用开发平台。 [English]

Build Status Coverage Status License Fork star commit

[AidLux](https://docs.aidlux.com) 是一个基于ARM构建,同时支持多生态融合(Android+Linux)环境的AI应用开发和部署平台,为开发者带来强大、简单、无限创意可能的奇妙体验!

AidLux

AidLux融合架构,实现多生态超级叠加

AidLux融合架构

通过共享Android Linux kernel构建了完整的Linux系统环境,并且与Android系统环境同时提供用户访问。在为用户提供和原生Linux系统类似的命令行使用体验(如通过 apt 命令进行包管理)的同时,基于Web构建了图形化桌面环境,用户可以直接通过触摸屏或浏览器访问。

AidLux补全了AI运行所需的所有基础科学计算包/库,支持了业界主流深度学习框架,并内置自主研发的AI智能加速技术,为开发者提供了一个“AI 就绪”的应用开发平台。


Android+Linux 共生, 1+1>2

  • 一部设备同时运行两个系统环境,既是一部Android设备,同时也是一部Linux设备。两个生态的资源优势可同时被加以利用。

  • 跨系统无缝交互,高效,安全,稳定。Android应用与Linux应用实现本地高效直接访问,无需外部接口(如网络),充分释放硬件效能。 Android负责用户交互,Linux负责服务支持的新型应用形态等待你的奇思妙想。

  • 针对已有应用(Android或Linux),可轻松获得跨系统功能支持,使应用功能更加强大,充分保护已有开发投入。

  • 一键安装、自动部署、App式启动,过程快速、简单。


低AI开发门槛, 快速、简单、极致性能

  • 集成业界主流AI深度学习框架,无需配置,安装即用,极大的降低了AI开发和应用部署的环境配置复杂度,大幅减少了相关的时间投入。 框架支持如下:

    TensorFlow PyTorch Caffe MXNet Keras MindSpore PandlePandle TNN MNN SNPE
  • 内置创新性的CPU+GPU+NPU智能加速技术,通过“硬件+框架+Op"多层优化,赋予深度学习运算性能的大幅度提升。并且提供统一API接口,在方便开发者调用的同时,还支持不同AI框架模型自动转换。以下测试为基于相同ARM设备,在Linux、AidLux上测试获得。单项测试进行20次取耗时(纵轴)平均值。

  • 在Wizard中进行拖拽式AI应用开发,AI组件快速赋能,1分钟生成你的第一个AI应用!

  • 内置丰富AI应用案例及对应代码,方便开发者能快速入门。


便携、开放、一站式

  • AidLux 云桌面系统,支持从PC, 平板, 手机等多种屏幕随时随地同时访问,实现你的超级移动开发平台。 快通过PC上的浏览器,输入云桌面地址,访问你手机上的AidLux桌面吧!

  • 海量外设轻松支持(网络、USB、串口、...),创意空间无限扩展。

  • 支持VSCode, Jupyter notebook 等多种开源开发工具及Python, C/C++, Java, JavaScript等开发语言。

  • 一站式开发、测试、部署全流程支持,AidLux关注效率,您关注创意! ApkBuild应用,可以快速将基于Python开发的项目打包成APK进行发布,方便用户在其它Android系统进行部署。


目前,AidLux已在各大App应用中心上线,下载启动次数200万+。

开始使用

点击以下链接即可下载最新的安装包 【AidLux v1.3.0】

贡献与参与

QQ交流群

License

致谢

AidLux参与人员:bill、flay、gondon、willam、gugu、yoline777、qidiso、yuge、muzi_ys等。

下列项目:

aidlearning-framework's People

Contributors

aidlearning avatar misaka17032 avatar yoline777 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aidlearning-framework's Issues

python3 broken

On /home/facencnn, i can run
python2 ./webdemo.py OK.
However

However, I got the following error with python3
python3 ./webdemo.py

Traceback (most recent call last):
File "webdemo.py", line 2, in
import facerecognition
ImportError: dynamic module does not define module export function (PyInit_facerecognition)

Is there a way to disable the following printout? This is quite annoying in the ssh console.

127.0.0.1 - - [01/Jun/2019 20:40:31] "POST /api/post_some_data HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2019 20:40:31] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2019 20:40:31] "POST /api/post_some_data HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2019 20:40:31] "POST /api/post_some_data HTTP/1.1" 200 -

startup script

Is there a way which a script will execute when I launch AidLearning app?
The usecase is to have a python task running on a background (no need to have a console screen) inside AidLearning and communicate with Android application via TCP.

Thanks,

Cannot use sklearn?

I install the sklearn lib using "pip3 install sklearn",then I import sklearn in the python3,there were many errors like this:
ImportError: cannot import name 'SemLock'
......
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.

I found that maybe we must mount /dev/shm first then install python.
https://blog.csdn.net/u010454261/article/details/80216581 (This web is Chinese)
Could you please solve this problem? Or dose the Aid Learning not support sklearn? Thank you!

I use ssh to connect my mobilephone ,and do this : "apt-get update"

root@localhost:/home# apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://deb.debian.org/debian stretch Release
Err:3 http://deb.debian.org/debian stretch Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
W: Failed to fetch http://deb.debian.org/debian/dists/stretch/Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
W: Some index files failed to download. They have been ignored, or old ones used instead.

how to reduce the size of AidLearning?

A great app for learning Deep Learning. Programming on mobile phones is also very interesting and strongly supportive!
It is suggested that one or more platforms can be installed without downloading tf, pytorch, Caffe and mxnet all at once. After all, the capacity of mobile phones is still limited.

can add the theano to the aidlearning?

Can add the theano to the aidlearning? i use the aidlearning for some days, it's powerful and easy to do something cool. but theano is not build in. i hope aidlearning support it.

performance degradation after running overnight

I run your face recognition application on my android tablet overnight and the app becomes quite slow (you can see video refresh on the screen quite slow). I can see a couple frames/sec at the beginning.
Are you aware of this issue?

how can i run GUI app such as vscode on AidLearning-FrameWork?I try to run mousepad,but it return this error "cannot open display Trace/breakpoint trap"

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

upgrade error still exists,though version 9-4

when i run apt upgrade,error emerges:is there anyone who can help me?iknow i have posted the same issue once ,but there's no one respoding to me.I am addicted to this software.thanks anyway.
root@localhost:/home# apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: autopoint dbus gettext gettext-base icu-devtools libavcodec-dev libavcodec57 libavformat-dev libavformat57 libavutil-dev libavutil55 libcups2 libdbus-1-3 libexpat1 libexpat1-dev libgd3 libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libicu-dev libicu57 libldap-2.4-2 libldap-common libmariadbclient18 libpng-dev libpng-tools libpng16-16 libssl-dev libssl-doc libssl1.0.2 libssl1.1 libswresample-dev libswresample2 libswscale-dev libswscale4 libxslt1.1 linux-libc-dev openssh-client openssl patch tzdata unzip vim vim-common vim-runtime xxd 47 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4 not fully installed or removed. Need to get 0 B/64.4 MB of archives. After this operation, 131 kB of additional disk space will be used. Do you want to continue? [Y/n] y /bin/sh: 1: /usr/sbin/dpkg-preconfigure: not found Setting up libudev1:arm64 (232-25+deb9u12) ... dpkg: warning: files list file for package 'python3-cryptography' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3.5' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3-dbus' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3-cffi-backend' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3-keyring' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3-crypto' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'libpython3.5:arm64' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'libssl-dev:arm64' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'libpython3.5-stdlib:arm64' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3-idna' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3-xdg' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3-keyrings.alt' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3-wheel' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3-gi' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'libpython3.5-dev:arm64' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3.5-minimal' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3-pyasn1' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3-pip' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'libssl-doc' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3-setuptools' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3.5-dev' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'python3-secretstorage' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'libpython3.5-minimal:arm64' missing; assuming package has no files currently installed (Reading database ... 63996 files and directories currently installed.) Preparing to unpack .../00-unzip_6.0-21+deb9u2_arm64.deb ... Unpacking unzip (6.0-21+deb9u2) over (6.0-21+deb9u1) ... /var/lib/dpkg/info/unzip.postrm: 4: /var/lib/dpkg/info/unzip.postrm: update-mime: not found dpkg: warning: subprocess old post-removal script returned error exit status 127 dpkg: trying script from the new package instead ... /var/lib/dpkg/tmp.ci/postrm: 4: /var/lib/dpkg/tmp.ci/postrm: update-mime: not found dpkg: error processing archive /tmp/apt-dpkg-install-e86RU7/00-unzip_6.0-21+deb9u2_arm64.deb (--unpack): subprocess new post-removal script returned error exit status 127 /var/lib/dpkg/tmp.ci/postrm: 4: /var/lib/dpkg/tmp.ci/postrm: update-mime: not found dpkg: error while cleaning up: subprocess new post-removal script returned error exit status 127 Preparing to unpack .../01-tzdata_2019b-0+deb9u1_all.deb ... Unpacking tzdata (2019b-0+deb9u1) over (2019a-0+deb9u1) ... Preparing to unpack .../02-libssl1.0.2_1.0.2s-1~deb9u1_arm64.deb ... Unpacking libssl1.0.2:arm64 (1.0.2s-1~deb9u1) over (1.0.2r-1~deb9u1) ... Preparing to unpack .../03-libssl-doc_1.1.0k-1~deb9u1_all.deb ... Unpacking libssl-doc (1.1.0k-1~deb9u1) over (1.1.0j-1~deb9u1) ... Preparing to unpack .../04-libssl-dev_1.1.0k-1~deb9u1_arm64.deb ... Unpacking libssl-dev:arm64 (1.1.0k-1~deb9u1) over (1.1.0j-1~deb9u1) ... Preparing to unpack .../05-libssl1.1_1.1.0k-1~deb9u1_arm64.deb ... Unpacking libssl1.1:arm64 (1.1.0k-1~deb9u1) over (1.1.0j-1~deb9u1) ... Preparing to unpack .../06-vim_2%3a8.0.0197-4+deb9u3_arm64.deb ... Unpacking vim (2:8.0.0197-4+deb9u3) over (2:8.0.0197-4+deb9u1) ... Preparing to unpack .../07-vim-runtime_2%3a8.0.0197-4+deb9u3_all.deb ... Unpacking vim-runtime (2:8.0.0197-4+deb9u3) over (2:8.0.0197-4+deb9u1) ... Preparing to unpack .../08-xxd_2%3a8.0.0197-4+deb9u3_arm64.deb ... Unpacking xxd (2:8.0.0197-4+deb9u3) over (2:8.0.0197-4+deb9u1) ... Preparing to unpack .../09-vim-common_2%3a8.0.0197-4+deb9u3_all.deb ... Unpacking vim-common (2:8.0.0197-4+deb9u3) over (2:8.0.0197-4+deb9u1) ... Preparing to unpack .../10-dbus_1.10.28-0+deb9u1_arm64.deb ... Unpacking dbus (1.10.28-0+deb9u1) over (1.10.26-0+deb9u1) ... Preparing to unpack .../11-libdbus-1-3_1.10.28-0+deb9u1_arm64.deb ... Unpacking libdbus-1-3:arm64 (1.10.28-0+deb9u1) over (1.10.26-0+deb9u1) ... Preparing to unpack .../12-libexpat1-dev_2.2.0-2+deb9u2_arm64.deb ... Unpacking libexpat1-dev:arm64 (2.2.0-2+deb9u2) over (2.2.0-2+deb9u1) ... Preparing to unpack .../13-libexpat1_2.2.0-2+deb9u2_arm64.deb ... Unpacking libexpat1:arm64 (2.2.0-2+deb9u2) over (2.2.0-2+deb9u1) ... Preparing to unpack .../14-gettext-base_0.19.8.1-2+deb9u1_arm64.deb ... Unpacking gettext-base (0.19.8.1-2+deb9u1) over (0.19.8.1-2) ... Preparing to unpack .../15-libldap-common_2.4.44+dfsg-5+deb9u3_all.deb ... Unpacking libldap-common (2.4.44+dfsg-5+deb9u3) over (2.4.44+dfsg-5+deb9u2) ... Preparing to unpack .../16-libldap-2.4-2_2.4.44+dfsg-5+deb9u3_arm64.deb ... Unpacking libldap-2.4-2:arm64 (2.4.44+dfsg-5+deb9u3) over (2.4.44+dfsg-5+deb9u2) ... Preparing to unpack .../17-openssh-client_1%3a7.4p1-10+deb9u7_arm64.deb ... Unpacking openssh-client (1:7.4p1-10+deb9u7) over (1:7.4p1-10+deb9u6) ... Preparing to unpack .../18-libglib2.0-data_2.50.3-2+deb9u1_all.deb ... Unpacking libglib2.0-data (2.50.3-2+deb9u1) over (2.50.3-2) ... Preparing to unpack .../19-libglib2.0-dev_2.50.3-2+deb9u1_arm64.deb ... Traceback (most recent call last): File "/usr/bin/py3clean", line 32, in <module> from debpython import files as dpf ModuleNotFoundError: No module named 'debpython' dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... Traceback (most recent call last): File "/usr/bin/py3clean", line 32, in <module> from debpython import files as dpf ModuleNotFoundError: No module named 'debpython' dpkg: error processing archive /tmp/apt-dpkg-install-e86RU7/19-libglib2.0-dev_2.50.3-2+deb9u1_arm64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 Traceback (most recent call last): File "/usr/bin/py3compile", line 34, in <module> from debpython.version import SUPPORTED, debsorted, vrepr, \ ModuleNotFoundError: No module named 'debpython' dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Preparing to unpack .../20-libglib2.0-bin_2.50.3-2+deb9u1_arm64.deb ... Unpacking libglib2.0-bin (2.50.3-2+deb9u1) over (2.50.3-2) ... Preparing to unpack .../21-libglib2.0-0_2.50.3-2+deb9u1_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.50.3-2+deb9u1) over (2.50.3-2) ... Preparing to unpack .../22-gettext_0.19.8.1-2+deb9u1_arm64.deb ... Unpacking gettext (0.19.8.1-2+deb9u1) over (0.19.8.1-2) ... Preparing to unpack .../23-autopoint_0.19.8.1-2+deb9u1_all.deb ... Unpacking autopoint (0.19.8.1-2+deb9u1) over (0.19.8.1-2) ... Preparing to unpack .../24-libicu-dev_57.1-6+deb9u3_arm64.deb ... Unpacking libicu-dev (57.1-6+deb9u3) over (57.1-6+deb9u2) ... Preparing to unpack .../25-icu-devtools_57.1-6+deb9u3_arm64.deb ... Unpacking icu-devtools (57.1-6+deb9u3) over (57.1-6+deb9u2) ... Preparing to unpack .../26-libicu57_57.1-6+deb9u3_arm64.deb ... Unpacking libicu57:arm64 (57.1-6+deb9u3) over (57.1-6+deb9u2) ... Preparing to unpack .../27-libavformat-dev_7%3a3.2.14-1~deb9u1_arm64.deb ... Unpacking libavformat-dev:arm64 (7:3.2.14-1~deb9u1) over (7:3.2.12-1~deb9u1) ... Preparing to unpack .../28-libavcodec-dev_7%3a3.2.14-1~deb9u1_arm64.deb ... Unpacking libavcodec-dev:arm64 (7:3.2.14-1~deb9u1) over (7:3.2.12-1~deb9u1) ... Preparing to unpack .../29-libswresample-dev_7%3a3.2.14-1~deb9u1_arm64.deb ... Unpacking libswresample-dev:arm64 (7:3.2.14-1~deb9u1) over (7:3.2.12-1~deb9u1) ... Preparing to unpack .../30-libswresample2_7%3a3.2.14-1~deb9u1_arm64.deb ... Unpacking libswresample2:arm64 (7:3.2.14-1~deb9u1) over (7:3.2.12-1~deb9u1) ... Preparing to unpack .../31-libswscale-dev_7%3a3.2.14-1~deb9u1_arm64.deb ... Unpacking libswscale-dev:arm64 (7:3.2.14-1~deb9u1) over (7:3.2.12-1~deb9u1) ... Preparing to unpack .../32-libswscale4_7%3a3.2.14-1~deb9u1_arm64.deb ... Unpacking libswscale4:arm64 (7:3.2.14-1~deb9u1) over (7:3.2.12-1~deb9u1) ... Preparing to unpack .../33-libavutil-dev_7%3a3.2.14-1~deb9u1_arm64.deb ... Unpacking libavutil-dev:arm64 (7:3.2.14-1~deb9u1) over (7:3.2.12-1~deb9u1) ... Preparing to unpack .../34-libavutil55_7%3a3.2.14-1~deb9u1_arm64.deb ... Unpacking libavutil55:arm64 (7:3.2.14-1~deb9u1) over (7:3.2.12-1~deb9u1) ... Preparing to unpack .../35-libavcodec57_7%3a3.2.14-1~deb9u1_arm64.deb ... Unpacking libavcodec57:arm64 (7:3.2.14-1~deb9u1) over (7:3.2.12-1~deb9u1) ... Preparing to unpack .../36-libavformat57_7%3a3.2.14-1~deb9u1_arm64.deb ... Unpacking libavformat57:arm64 (7:3.2.14-1~deb9u1) over (7:3.2.12-1~deb9u1) ... Preparing to unpack .../37-libcups2_2.2.1-8+deb9u4_arm64.deb ... Unpacking libcups2:arm64 (2.2.1-8+deb9u4) over (2.2.1-8+deb9u3) ... Preparing to unpack .../38-libpng-tools_1.6.28-1+deb9u1_arm64.deb ... Unpacking libpng-tools (1.6.28-1+deb9u1) over (1.6.28-1) ... Preparing to unpack .../39-libpng-dev_1.6.28-1+deb9u1_arm64.deb ... Unpacking libpng-dev:arm64 (1.6.28-1+deb9u1) over (1.6.28-1) ... Preparing to unpack .../40-libpng16-16_1.6.28-1+deb9u1_arm64.deb ... Unpacking libpng16-16:arm64 (1.6.28-1+deb9u1) over (1.6.28-1) ... Preparing to unpack .../41-libgd3_2.2.4-2+deb9u5_arm64.deb ... Unpacking libgd3:arm64 (2.2.4-2+deb9u5) over (2.2.4-2+deb9u4) ... Preparing to unpack .../42-libmariadbclient18_10.1.41-0+deb9u1_arm64.deb ... Unpacking libmariadbclient18:arm64 (10.1.41-0+deb9u1) over (10.1.38-0+deb9u1) ... Preparing to unpack .../43-libxslt1.1_1.1.29-2.1+deb9u1_arm64.deb ... Unpacking libxslt1.1:arm64 (1.1.29-2.1+deb9u1) over (1.1.29-2.1) ... Preparing to unpack .../44-linux-libc-dev_4.9.189-3_arm64.deb ... Unpacking linux-libc-dev:arm64 (4.9.189-3) over (4.9.168-1) ... Preparing to unpack .../45-openssl_1.1.0k-1~deb9u1_arm64.deb ... Unpacking openssl (1.1.0k-1~deb9u1) over (1.1.0j-1~deb9u1) ... Preparing to unpack .../46-patch_2.7.5-1+deb9u2_arm64.deb ... Unpacking patch (2.7.5-1+deb9u2) over (2.7.5-1+deb9u1) ... Errors were encountered while processing: /tmp/apt-dpkg-install-e86RU7/00-unzip_6.0-21+deb9u2_arm64.deb /tmp/apt-dpkg-install-e86RU7/19-libglib2.0-dev_2.50.3-2+deb9u1_arm64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

How can I Import my code and data

I can't find the '/sdcard' folder in the phone folder. It seems like that could only copy my code and paste in a new file. While the data I need couldn't do like this.

Where can I find the model weights?

For all the example codes given here, where do I get the model weights from??

For example, for MobileFaceNet, I see only the .json file, but not the model weights of MXNet. Where can I find them?

Thanks :)

sqlite3 in python3

python3 has builtin sqlite3 module. However, python3 in your latest release (yesterday) doesn't have this. Can you check it?

Thanks,

apt update error:E: Sub-process /usr/bin/dpkg returned an error code (1)

Phone:HUAWEI P8, Android OS 6
When I run upgrade/installing code,errors occurred:
``root@localhost:/home# apt install mime
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mime
Reading package lists...
.....
errors were encountered while processing: /var/cache/apt/archives/unzip_6.0-21+deb9u2_arm64.deb

cannot see installing progress

First download and installing dependencies i can't see the progress

that is bug or what?
overall and thanks before, this greate project

Ver0.73 will be released!

Ver0.73 will be released in the next few days!
It will greatly improve the convenience and stability of the system.
touch-and-drag programming experience will be imported into UI development!

OSError: [Errno 13] Permission denied

FaceRecognition Init Finished.
Traceback (most recent call last):
  File "faceID.py", line 139, in <module>
    run_single_camera(url,'30.207.67.186')
  File "faceID.py", line 116, in run_single_camera
    q = Queue()
  File "/usr/lib/python2.7/multiprocessing/__init__.py", line 218, in Queue
    return Queue(maxsize)
  File "/usr/lib/python2.7/multiprocessing/queues.py", line 63, in __init__
    self._rlock = Lock()
  File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 147, in __init__
    SemLock.__init__(self, SEMAPHORE, 1, 1)
  File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 75, in __init__
    sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied

about lnet i want to transfer to ncnn.

about lnet i want to transfer to ncnn. about my code is that.

#include <iostream>
#include <stdio.h>
#include <algorithm>
#include <vector>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "platform.h"
#include "net.h"
#include "mat.h"

class Noop : public ncnn::Layer {};
DEFINE_LAYER_CREATOR(Noop)

int main() {
    ncnn::Net net;

    net.register_custom_layer("LinearRegressionOutput", Noop_layer_creator);
    net.register_custom_layer("Custom", Noop_layer_creator);
    net.load_param("../model/L106.param");
    net.load_model("../model/L106.bin");


    cv::Mat img = cv::imread("../test_img/AE_.jpg");

    cv::resize(img, img, cv::Size(96, 96));
    cv::Mat img_cp =img.clone();
    cv::cvtColor(img, img, CV_BGR2RGB);  //mxnet支持的也是rgb
    unsigned char *rgbdata = img.data;
    ncnn::Mat in = ncnn::Mat::from_pixels(rgbdata, ncnn::Mat::PIXEL_RGB, 96, 96);
    //ncnn::Mat in = ncnn::Mat::from_pixels(rgbdata, ncnn::Mat::PIXEL_BGR, 96, 96);
    const float mean_vals[3] = {127.5f, 127.5f, 127.5f};
    const float norm_vals[3] = {0.0078125f, 0.0078125f, 0.0078125f};
    in.substract_mean_normalize(mean_vals, norm_vals);


    ncnn::Mat out;

    ncnn::Extractor ex = net.create_extractor();
    //ex.set_light_mode(true);
    ex.input("data", in);


    double t_start = cv::getTickCount();
    ex.extract("conv6_3", out);
    double t_end = cv::getTickCount();
    float costTime = (t_end - t_start) / cv::getTickFrequency();
    std::cout << "cost Time :" << costTime << std::endl;


    std::cout << "Hello, World!" << std::endl;
    ncnn::Mat out_flatterned = out.reshape(out.w * out.h * out.c);
    for (int i = 0; i < 106; i++)
    {
        cv::Point pt = cv::Point(96 * out_flatterned[i * 2], 96 * out_flatterned[i * 2 + 1]);
        //cv::Point pt = cv::Point(96 * out_flatterned[i ], 96 * out_flatterned[i+106]);
        cv::circle(img_cp, pt, 2, cv::Scalar(0, 0, 250), 2);
    }
    cv::imshow("show",img_cp);
    cv::waitKey(0);
  
    return 0;
}

show

The result is not correct, Can you share your experience with me ?

will be release new version ,any features request?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Failed to initialize libdc1394

手机型号:小米8
系统:MIUI10.3
安卓:9
当执行cvs或其他文件夹下的.py文件时,提示错误:
root@localhost:/home/singlepose# python webpose.py libdc1394 error: Failed to create juju: opendir: Permission denied libdc1394 error: Failed to initialize libdc1394 open the cam:0 ... import tensorflow.....wait... * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit) 127.0.0.1 - - [26/May/2019 16:04:56] "GET / HTTP/1.1" 200 - You choose to stop me.
请问有有效的解决方案吗?还有一个问题是注册之后迟迟没有收到验证邮箱,导致无法登录。

There are two show windows in the screen,I just need one.

Thanks for your working on the APP! It is awesome!
When I run the python code of example, there are two show windows in the screen, I know the bottom one is generated by python code, but where is the top window from?I hope there is just one window or frame which is linked to my python code.
Thank you!

Cannot open the app because of download

安装好之后,能打开桌面但是打不开任何应用,就是黑屏然后卡在那儿,啥都没有,手机华为荣耀畅玩 8C  安卓8.1

Great jobs! this is a Linux with Gui running in the android

Great jobs! this is a Linux with Gui running on the android,termux is only a terminal running in the android.Aidl is powerful ! it can save many time to config the AI Framework like caffe/tf/mxnet/keras...
how about pytorch?have the plan to surpport it ?

error: Failed to create juju: opendir: Permission denied

手机:魅族
android: 8.1
邮箱:[email protected]
root@localhost:/home/singlepose# python webpose.py libdc1394 error: Failed to create juju: opendir: Permission denied libdc1394 error: Failed to initialize libdc1394 open the cam:0 ... import tensorflow.....wait... * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit) 127.0.0.1 - - [26/May/2019 16:04:56] "GET / HTTP/1.1" 200 - You choose to stop me.
运行出现上述问题?也没有收到激活邮件

python3 and use Pc to code

1 How can I code on Pc by using this app? Can you tell me more details? Thank you.
2 How to upgrade to python3

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.