This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Update the README of how to benchmark Paddle on Android and add the Chinese version #49
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
NHZlX
reviewed
Dec 12, 2017
benchmark/tool/C/README_cn.md
Outdated
|
||
Android设备上推荐使用`merged model`。以Mobilenet为例,要生成`merged model`,首先你需要准备以下文件: | ||
- 模型配置文件[mobilenet.py](/~https://github.com/PaddlePaddle/Mobile/blob/develop/models/mobilenet.py),它是使用PaddlePaddle的v2 api编写的`Mobilenet`模型的网络结构。用户可在[models](/~https://github.com/PaddlePaddle/Mobile/tree/develop/models)获取更多PaddlePaddle常用的网络配置,该repo下面同时提供了使用PaddlePaddle训练模型的方法。 | ||
- 模型参数文件。使用PaddlePaddle v2 api训练得到的参数将会存储成`.tar.gz`文件。比如,我们提供le一个使用`flower102`数据集训练`Mobilnet`分类模型的参数文件[mobilenet\_flowers102.tar.gz](http://cloud.dlnel.org/filepub/?uuid=4a3fcd7a-719c-479f-96e1-28a4c3f2195e)。你也可以使用以下命令下载该参数文件: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
提供le
-> 提供了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
hedaoyuan
reviewed
Dec 13, 2017
I1211 17:12:53.334666 4858 Util.cpp:166] commandline: | ||
Time of init paddle 3.4388 ms. | ||
Time of create from merged model file 141.045 ms. | ||
Time of forward time 398.818 ms. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is best to indicate this example is running on which phone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just want to show the output of inference
, the time here is not precise. I will add a comment about this in next PR.
hedaoyuan
approved these changes
Dec 13, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #50