File tree 2 files changed +29
-0
lines changed
2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 35
35
* [ iOS] ( https://github.com/PaddlePaddle/paddle-mobile/blob/develop/doc/development_ios.md )
36
36
* [ Android] ( https://github.com/PaddlePaddle/paddle-mobile/blob/develop/doc/development_android.md )
37
37
* [ FPGA] ( https://github.com/PaddlePaddle/paddle-mobile/blob/develop/doc/development_fpga.md )
38
+ * [ ARM_LINUX] ( https://github.com/PaddlePaddle/paddle-mobile/blob/develop/doc/development_arm_linux.md )
38
39
39
40
### 贡献文档
40
41
- [ 贡献文档链接] ( https://github.com/PaddlePaddle/paddle-mobile/blob/develop/CONTRIBUTING.md )
Original file line number Diff line number Diff line change
1
+ # ARM_LINUX开发文档
2
+ 目前支持直接在arm_linux平台上编译paddle-mobile
3
+
4
+ ## 以Raspberrypi3为例:
5
+ ### 执行编译
6
+ 在paddle-mobile根目录中,执行以下命令:
7
+ ```
8
+ cd tools
9
+ /bin/bash build.sh arm_linux googlenet
10
+ ```
11
+ 执行完毕后,生成的so位于paddle-mobile/build/release/arm-linux/build目录中,单测可执行文件位于test/build目录中。
12
+
13
+ ### 运行
14
+ ```
15
+ cd ../build/release/arm-linux/build
16
+ export LD_LIBRARY_PATH=.
17
+ cd ../../../../test/build/
18
+ ./test-googlenet
19
+ ```
20
+ * 注1:如果本地test目录下没有模型的话,会自动下载官方demo模型并解压.*
21
+
22
+ * 注2:因为arm_linux设备算力限制,建议编译时,根据需要指定编译某个模型(如googlenet)或扩大系统的swap交换空间,避免编译时卡死.*
23
+
24
+ ## 其他ARM_LINUX平台
25
+
26
+ 其他的arm_linux平台可以修改 tools/build.sh中的相关编译参数进行编译。可以参考对应平台的编译选项。
27
+ 特别说明的是Android平台请参考Android开发文档.
28
+
You can’t perform that action at this time.
0 commit comments