Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
ba708ad5
P
Paddle-Lite
项目概览
PaddlePaddle
/
Paddle-Lite
通知
337
Star
4
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
271
列表
看板
标记
里程碑
合并请求
78
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle-Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
271
Issue
271
列表
看板
标记
里程碑
合并请求
78
合并请求
78
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
ba708ad5
编写于
9月 20, 2019
作者:
J
juncaipeng
提交者:
Yan Chunwei
9月 20, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add toc (#2091)
上级
c1d4f094
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
10 addition
and
78 deletion
+10
-78
.DS_Store
.DS_Store
+0
-0
_all_pages/.DS_Store
_all_pages/.DS_Store
+0
-0
_all_pages/develop/benchmark_tools.md
_all_pages/develop/benchmark_tools.md
+2
-10
_all_pages/develop/cpp_demo.md
_all_pages/develop/cpp_demo.md
+2
-14
_all_pages/develop/java_demo.md
_all_pages/develop/java_demo.md
+2
-13
_all_pages/develop/model_quantization.md
_all_pages/develop/model_quantization.md
+2
-18
_all_pages/develop/source_compile.md
_all_pages/develop/source_compile.md
+2
-23
未找到文件。
.DS_Store
浏览文件 @
ba708ad5
无法预览此类型文件
_all_pages/.DS_Store
浏览文件 @
ba708ad5
无法预览此类型文件
_all_pages/develop/benchmark_tools.md
浏览文件 @
ba708ad5
...
@@ -3,16 +3,8 @@ layout: post
...
@@ -3,16 +3,8 @@ layout: post
title
:
Benchmark
title
:
Benchmark
---
---
<!--ts-->
*
TOC
*
[
Benchmark
](
#Benchmark
)
{:toc}
*
[
环境准备
](
#环境准备
)
*
[
1. 一键Benchmark
](
#一-一键benchmark
)
*
[
2. 逐步Benchmark
](
#二-逐步Benchmark
)
*
[
1. 获取benchmark可执行文件
](
#1-获取benchmark可执行文件
)
*
[
2. 下载模型
](
#2-下载模型
)
*
[
3. benchmark.sh脚本
](
#3-benchmark-sh脚本
)
*
[
4. 测试
](
#4-测试
)
<!--te-->
本文将会介绍,在
**Ubuntu:16.04交叉编译环境**
下,用安卓手机在终端测试Paddle-Lite的性能,并介绍两种Benchmark方法:
本文将会介绍,在
**Ubuntu:16.04交叉编译环境**
下,用安卓手机在终端测试Paddle-Lite的性能,并介绍两种Benchmark方法:
...
...
_all_pages/develop/cpp_demo.md
浏览文件 @
ba708ad5
...
@@ -3,20 +3,8 @@ layout: post
...
@@ -3,20 +3,8 @@ layout: post
title
:
C++ Demo
title
:
C++ Demo
---
---
<!--ts-->
*
TOC
{:toc}
-
[
C++ Demo
](
#c-demo
)
-
[
编译
](
#编译-1
)
-
[
准备执行环境
](
#准备执行环境
)
-
[
使用安卓手机
](
#使用安卓手机
)
-
[
使用安卓模拟器
](
#使用安卓模拟器
)
-
[
下载模型并运行示例
](
#下载模型并运行示例
)
-
[
Demo 程序运行结果
](
#demo-程序运行结果
)
-
[
如何在代码中使用 API
](
#如何在代码中使用-api
)
<!-- Added by: yanchunwei, at: Mon Aug 26 22:23:07 CST 2019 -->
<!--te-->
## 编译
## 编译
...
...
_all_pages/develop/java_demo.md
浏览文件 @
ba708ad5
...
@@ -3,19 +3,8 @@ layout: post
...
@@ -3,19 +3,8 @@ layout: post
title
:
Java Android Demo
title
:
Java Android Demo
---
---
<!--ts-->
*
TOC
*
[
Java Android Demo
](
#java-android-demo
)
{:toc}
*
[
编译
](
#编译
)
*
[
准备 demo 需要的其他文件
](
#准备-demo-需要的其他文件
)
*
[
脚本方法
](
#脚本方法
)
*
[
手动拷贝方法
](
#手动拷贝方法
)
*
[
把 .so 动态库和 .jar 拷贝进安卓demo程序:
](
#把-so-动态库和-jar-拷贝进安卓demo程序
)
*
[
把demo使用到的模型文件拷贝进安卓程序:
](
#把demo使用到的模型文件拷贝进安卓程序
)
*
[
运行 Android 程序结果
](
#运行-android-程序结果
)
<!-- Added by: yanchunwei, at: Mon Aug 26 22:23:07 CST 2019 -->
<!--te-->
本节中,Java demo 完整代码位于
[
demo/java
](
https://github.com/PaddlePaddle/Paddle-Lite/tree/develop/lite/demo/java
)
。
本节中,Java demo 完整代码位于
[
demo/java
](
https://github.com/PaddlePaddle/Paddle-Lite/tree/develop/lite/demo/java
)
。
...
...
_all_pages/develop/model_quantization.md
浏览文件 @
ba708ad5
...
@@ -2,24 +2,8 @@
...
@@ -2,24 +2,8 @@
layout
:
post
layout
:
post
title
:
模型量化
title
:
模型量化
---
---
*
TOC
<!--ts-->
{:toc}
*
[
模型量化
](
#模型量化
)
*
[
一、使用PaddleSlim模型压缩工具获取量化模型
](
#一使用PaddleSlim模型压缩工具获取量化模型
)
*
[
1. 安装PaddlePaddle版本
](
#1-安装PaddlePaddle版本
)
*
[
2. 克隆量化训练所需的代码库
](
#2-克隆量化训练所需的代码库
)
*
[
3. 数据准备
](
#3-数据准备
)
*
[
4. 压缩脚本介绍
](
#4-压缩脚本介绍
)
*
[
5. 执行int8量化训练
](
#5-执行int8量化训练
)
*
[
二、使用Paddle-Lite运行量化模型推理
](
#二使用Paddle-Lite运行量化模型推理
)
*
[
1. 在手机端准备量化模型文件
](
#1-在手机端准备量化模型文件
)
*
[
2. 使用模型优化工具对量化模型进行优化
](
#2-使用模型优化工具对量化模型进行优化
)
*
[
3. 使用mobilenetv1_light_api运行优化后的量化模型
](
#3-使用mobilenetv1_light_api运行优化后的量化模型
)
*
[
三、FAQ
](
#三FAQ
)
<!-- Added by: , at: Thu Aug 29 16:00:45 CST 2019 -->
<!--te-->
Paddle-Lite支持加载运行
[
PaddlePaddle框架
](
https://github.com/PaddlePaddle/Paddle
)
量化训练产出的模型。本文主要介绍如何基于PaddlePaddle和Paddle-Lite对模型进行端到端的量化训练和推理执行。PaddlePaddle框架中所使用的量化训练原理请猛戳
[
此处
](
https://github.com/PaddlePaddle/models/blob/develop/PaddleSlim/docs/tutorial.md#1-quantization-aware-training%E9%87%8F%E5%8C%96%E4%BB%8B%E7%BB%8D
)
。如果您是初次接触PaddlePaddle框架,建议首先学习
[
新人入门
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/1.5/beginners_guide/index_cn.html
)
和
[
使用指南
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/1.5/user_guides/index_cn.html
)
。
Paddle-Lite支持加载运行
[
PaddlePaddle框架
](
https://github.com/PaddlePaddle/Paddle
)
量化训练产出的模型。本文主要介绍如何基于PaddlePaddle和Paddle-Lite对模型进行端到端的量化训练和推理执行。PaddlePaddle框架中所使用的量化训练原理请猛戳
[
此处
](
https://github.com/PaddlePaddle/models/blob/develop/PaddleSlim/docs/tutorial.md#1-quantization-aware-training%E9%87%8F%E5%8C%96%E4%BB%8B%E7%BB%8D
)
。如果您是初次接触PaddlePaddle框架,建议首先学习
[
新人入门
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/1.5/beginners_guide/index_cn.html
)
和
[
使用指南
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/1.5/user_guides/index_cn.html
)
。
> 备注:本文中所使用的模型量化示例均为MobileNetV1。
> 备注:本文中所使用的模型量化示例均为MobileNetV1。
...
...
_all_pages/develop/source_compile.md
浏览文件 @
ba708ad5
...
@@ -2,29 +2,8 @@
...
@@ -2,29 +2,8 @@
layout
:
post
layout
:
post
title
:
源码编译指南
title
:
源码编译指南
---
---
*
TOC
<!--ts-->
{:toc}
*
[
源码编译指南
](
#源码编译指南
)
*
[
一、环境准备
](
#一环境准备
)
*
[
1、 Docker开发环境
](
#1-docker开发环境
)
*
[
准备Docker镜像
](
#准备docker镜像
)
*
[
进入Docker容器
](
#进入docker容器
)
*
[
Docker常用命令
](
#docker常用命令
)
*
[
2、Linux 开发环境
](
#2linux-开发环境
)
*
[
交叉编译环境要求
](
#交叉编译环境要求
)
*
[
具体步骤
](
#具体步骤
)
*
[
3、Mac OS 开发环境(只支持 tiny publish 编译 )
](
#3mac-os-开发环境只支持-tiny-publish-编译-
)
*
[
交叉编译环境要求
](
#交叉编译环境要求-1
)
*
[
具体步骤
](
#具体步骤-1
)
*
[
二、编译PaddleLite
](
#二编译paddlelite
)
*
[
下载代码
](
#下载代码
)
*
[
编译模式与参数
](
#编译模式与参数
)
*
[
编译代码
](
#编译代码
)
*
[
加速第三方依赖库的下载
](
#加速第三方依赖库的下载
)
<!-- Added by: yanchunwei, at: Thu Aug 29 16:00:45 CST 2019 -->
<!--te-->
Paddle-Lite 提供了移动端的一键源码编译脚本
`lite/tools/build.sh`
,编译流程如下:
Paddle-Lite 提供了移动端的一键源码编译脚本
`lite/tools/build.sh`
,编译流程如下:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录