Paddle Lite 预编译库下载¶
编译版本介绍¶
arch=
armv7/armv7hf/armv8/x86
目标设备的 CPU 架构,可选择包括armv7
、armv7hf
、armv8
和x86
等os=
Android/IOS/Linux/MacOS/Windows
目标设备的操作系统,可选择包括Android
、IOS
、Linux
、MacOS
和Windows
等toolchain=
gcc/clang
源码编译时的编译器,可选择包括gcc
和clang
等android_stl=
c++_static/c++_shared
预测库采用的 Android STL 库的种类,可选择包括c++_static
(静态链接)和c++_shared
(动态链接)with_extra=
ON/OFF
是否编译全量 OP,OFF 时只编译 CV 相关基础 OP,参数详情with_cv=
ON/OFF
是否编译 CV 相关 APIwith_log=
ON/OFF
预编译库是否带有日志打印python_version=
2.7/3.5/3.6/3.7
python 版本,可选择包括2.7
、3.5
、3.6
和3.7
等
Android¶
Arch | toolchain | android_stl | with_extra | with_cv | 下载链接 |
---|---|---|---|---|---|
armv7 | clang | c++_shared | OFF | OFF | v2.11 |
armv7 | clang | c++_shared | OFF | ON | v2.11 |
armv7 | clang | c++_shared | ON | OFF | v2.11 |
armv7 | clang | c++_shared | ON | ON | v2.11 |
armv7 | clang | c++_static | OFF | OFF | v2.11 |
armv7 | clang | c++_static | OFF | ON | v2.11 |
armv7 | clang | c++_static | ON | OFF | v2.11 |
armv7 | clang | c++_static | ON | ON | v2.11 |
armv7 | gcc | c++_shared | OFF | OFF | v2.11 |
armv7 | gcc | c++_shared | OFF | ON | v2.11 |
armv7 | gcc | c++_shared | ON | OFF | v2.11 |
armv7 | gcc | c++_shared | ON | ON | v2.11 |
armv7 | gcc | c++_static | OFF | OFF | v2.11 |
armv7 | gcc | c++_static | OFF | ON | v2.11 |
armv7 | gcc | c++_static | ON | OFF | v2.11 |
armv7 | gcc | c++_static | ON | ON | v2.11 |
armv8 | clang | c++_shared | OFF | OFF | v2.11 |
armv8 | clang | c++_shared | OFF | ON | v2.11 |
armv8 | clang | c++_shared | ON | OFF | v2.11 |
armv8 | clang | c++_shared | ON | ON | v2.11 |
armv8 | clang | c++_static | OFF | OFF | v2.11 |
armv8 | clang | c++_static | OFF | ON | v2.11 |
armv8 | clang | c++_static | ON | OFF | v2.11 |
armv8 | clang | c++_static | ON | ON | v2.11 |
armv8 | gcc | c++_shared | OFF | OFF | v2.11 |
armv8 | gcc | c++_shared | OFF | ON | v2.11 |
armv8 | gcc | c++_shared | ON | OFF | v2.11 |
armv8 | gcc | c++_shared | ON | ON | v2.11 |
armv8 | gcc | c++_static | OFF | OFF | v2.11 |
armv8 | gcc | c++_static | OFF | ON | v2.11 |
armv8 | gcc | c++_static | ON | OFF | v2.11 |
armv8 | gcc | c++_static | ON | ON | v2.11 |
IOS¶
Arch | with_cv | with_extra | with_log | 下载链接 |
---|---|---|---|---|
armv7 | OFF | OFF | OFF | v2.11 |
armv7 | OFF | OFF | ON | v2.11 |
armv7 | OFF | ON | OFF | v2.11 |
armv7 | OFF | ON | ON | v2.11 |
armv7 | ON | OFF | OFF | v2.11 |
armv7 | ON | OFF | ON | v2.11 |
armv7 | ON | ON | OFF | v2.11 |
armv7 | ON | ON | ON | v2.11 |
armv8 | OFF | OFF | OFF | v2.11 |
armv8 | OFF | OFF | ON | v2.11 |
armv8 | OFF | ON | OFF | v2.11 |
armv8 | OFF | ON | ON | v2.11 |
armv8 | ON | OFF | OFF | v2.11 |
armv8 | ON | OFF | ON | v2.11 |
armv8 | ON | ON | OFF | v2.11 |
armv8 | ON | ON | ON | v2.11 |
Linux (ARM)¶
Arch | with_extra | with_cv | 下载链接 | 适用的设备 | 适用的操作系统 |
---|---|---|---|---|---|
armv7hf | OFF | OFF | v2.11 | Raspberry Pi 3 Model B | Raspbian OS |
armv7hf | OFF | ON | v2.11 | Raspberry Pi 3 Model B | Raspbian OS |
armv7hf | ON | OFF | v2.11 | Raspberry Pi 3 Model B | Raspbian OS |
armv7hf | ON | ON | v2.11 | Raspberry Pi 3 Model B | Raspbian OS |
armv8 | OFF | OFF | v2.11 | RK3399 | firefly (Linux) |
armv8 | OFF | OFF | v2.11 | RK3399 | firefly (Linux) |
armv8 | OFF | OFF | v2.11 | RK3399 | firefly (Linux) |
armv8 | OFF | OFF | v2.11 | RK3399 | firefly (Linux) |
安装 Paddle Lite python 库方法¶
支持平台:Windows10、Ubuntu、Mac
python version: 2.7、3.5、3.6、3.7
# 当前最新版本是 2.11
python -m pip install paddlelite==2.11