diff --git a/CMakeLists.txt b/CMakeLists.txt index f5d68712a64b5a47657a7af9c0e6b47604893e23..4e33b715093d5ede1cb92641533fe42c2f25f831 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,7 @@ option(LOG_PROFILE "log profile" OFF) option(CPU "armv7 with neon" ON) option(GPU_MALI "mali gpu" OFF) option(GPU_CL "opencl gpu" OFF) + option(FPGA "fpga" OFF) if(FPGA) option(FPGAV1 "fpga v1" ON) @@ -144,7 +145,7 @@ if(FPGA) endforeach() file(GLOB_RECURSE _tmp_list src/operators/kernel/fpga/V2/*.h src/fpga/V2/*.h) foreach(f ${_tmp_list}) - list(REMOVE_ITEM PADDLE_MOBILE_CC ${f}) + list(REMOVE_ITEM PADDLE_MOBILE_H ${f}) endforeach() endif() if(FPGAV2) @@ -156,7 +157,7 @@ if(FPGA) endforeach() file(GLOB_RECURSE _tmp_list src/operators/kernel/fpga/V1/*.h src/fpga/V1/*.h) foreach(f ${_tmp_list}) - list(REMOVE_ITEM PADDLE_MOBILE_CC ${f}) + list(REMOVE_ITEM PADDLE_MOBILE_H ${f}) endforeach() endif() diff --git a/README.md b/README.md index c3a30009825a7f8f9f5c4940a847fc88fe6a840e..9150f40c8133a7b615f0938bef15960113f2711e 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,21 @@ +Welcome to Paddle-Mobile GitHub project。Paddle-Mobile is a project of PaddlePaddle as well as a deep learning framework for embedded platforms. 欢迎来到 Paddle-Mobile GitHub 项目。Paddle-Mobile是PaddlePaddle组织下的项目,是一个致力于嵌入式平台的深度学习的框架。 ## Features +- high performance in support of ARM CPU +- support Mali GPU +- support Andreno GPU +- support the realization of GPU Metal on Apple devices +- support implementation on ZU5、ZU9 and other FPGA-based development boards +- support implementation on Raspberry Pi and other arm-linux development boards + +## Features + - 高性能支持ARM CPU - 支持Mali GPU - 支持Andreno GPU @@ -19,6 +29,7 @@ - 支持ZU5、ZU9等FPGA开发板 - 支持树莓派等arm-linux开发板 + ## Demo - [ANDROID](https://github.com/xiebaiyuan/paddle-mobile-demo) @@ -26,6 +37,27 @@ [https://github.com/PaddlePaddle/paddle-mobile/tree/develop/demo](https://github.com/PaddlePaddle/paddle-mobile/tree/develop/demo) +## Documentation + +### Documentation of design + +If you want to know more details about the documentation of paddle-mobile design, please refer to the link as follows. There are many previous designs and discussion: [issue](https://github.com/PaddlePaddle/paddle-mobile/issues). + +[link of documentation of design](https://github.com/PaddlePaddle/paddle-mobile/blob/develop/doc/design_doc.md) + +### Documentation of development + +Documentation of development is mainly about building, running and other tasks.As a developer,you can use it with the help of contributed documents. +* [iOS](https://github.com/PaddlePaddle/paddle-mobile/blob/develop/doc/development_ios.md) +* [Android_CPU](https://github.com/PaddlePaddle/paddle-mobile/blob/develop/doc/development_android.md) +* [Android_GPU](https://github.com/PaddlePaddle/paddle-mobile/blob/develop/doc/development_android_GPU.md) +* [FPGA](https://github.com/PaddlePaddle/paddle-mobile/blob/develop/doc/development_fpga.md) +* [ARM_LINUX](https://github.com/PaddlePaddle/paddle-mobile/blob/develop/doc/development_arm_linux.md) + +### How to contribute your documents +- [tutorial link to contribute documents](https://github.com/PaddlePaddle/paddle-mobile/blob/develop/CONTRIBUTING.md) +- Main procedure of contributing code is covered in the document above.If you have other problems during the procedure,please send them as [issue](https://github.com/PaddlePaddle/paddle-mobile/issues). We will deal with it as quickly as possible. + ## 文档 ### 设计文档 @@ -46,6 +78,24 @@ - [贡献文档链接](https://github.com/PaddlePaddle/paddle-mobile/blob/develop/CONTRIBUTING.md) - 上面文档中涵盖了主要的贡献代码流程,如果在实践中您还遇到了其他问题,可以发[issue](https://github.com/PaddlePaddle/paddle-mobile/issues)。我们看到后会尽快处理。 +## Acquision of Models +At present Paddle-Mobile only supports Paddle fluid training model. Models wiil be operated regularly after transformation if you have various models. +### 1. Use Paddle Fluid directly to train +It is the most reliable method to be recommanded +### 2. Transform Caffe to Paddle Fluid model +[https://github.com/PaddlePaddle/models/tree/develop/fluid/image_classification/caffe2fluid](https://github.com/PaddlePaddle/models/tree/develop/fluid/image_classification/caffe2fluid) +### 3. ONNX +ONNX is expanded as Open Neural Network Exchange. The project is aimed to make a full communication and usage among diffrent nerual network development frameworks. + +Except for directly using fluid models trained by PaddlePaddle,you can also get certain Paddle fluid models through onnx transformation. + +At present,work in support of onnx is also under operation in Baidu. Related tranformation project can be referred to here: +[https://github.com/PaddlePaddle/paddle-onnx](https://github.com/PaddlePaddle/paddle-onnx) + +### 4. Download parts of testing models and testing pictures +[http://mms-graph.bj.bcebos.com/paddle-mobile%2FmodelsAndImages.zip](http://mms-graph.bj.bcebos.com/paddle-mobile%2FmodelsAndImages.zip) + + ## 模型获得 目前Paddle-Mobile仅支持Paddle fluid训练的模型。如果你手中的模型是不同种类的模型,需要进行模型转换才可以运行。 @@ -64,6 +114,22 @@ ONNX全称为“Open Neural Network Exchange”,即“开放的神经网络切 ### 4. 部分测试模型和测试图片下载 [http://mms-graph.bj.bcebos.com/paddle-mobile%2FmodelsAndImages.zip](http://mms-graph.bj.bcebos.com/paddle-mobile%2FmodelsAndImages.zip) + + +## Ask Question + +Welcome to put forward or tackle with our problems,You can post your question in our issue modular on github. [Github Issues](https://github.com/PaddlePaddle/paddle-mobile/issues). + +## Copyright and License +Paddle-Mobile provide relatively unstricted Apache-2.0 Open source agreement [Apache-2.0 license](LICENSE). + + +## Old version Mobile-Deep-Learning +Original MDL(Mobile-Deep-Learning) project has been transferred to [Mobile-Deep-Learning](https://github.com/allonli/mobile-deep-learning) +