-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add usage collection for demo #1030
Conversation
Add a `paddle usage` command to support collecting demo usage.
跟 @reyoung 讨论后,没有完全的采用 #965 中设计的方案。区别在于:
除了原始的脚本 paddle/scripts/tools/usage_stat/feedback.sh 之外,另外:
|
@@ -122,6 +122,9 @@ case "$1" in | |||
"make_diagram") | |||
python -m paddle.utils.make_model_diagram ${@:2} | |||
;; | |||
"usage") | |||
$MYDIR/../opt/paddle/bin/paddle_feedback ${@:2} |
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.
是不是paddle_feedback 改名叫 paddle_usage,或者 paddle usage 这个命令改名叫 paddle feedback ?我自己感觉前者意思更明确一些?
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.
说得对,那我统一改成usage吧。这个是前后开发时间太长导致的命名不一致...
@@ -0,0 +1,172 @@ | |||
#!/bin/bash |
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.
feedback.sh ==> usage.sh ?
请 @wangkuiyi 或 @reyoung 帮忙review一下,谢谢~ |
Add a
paddle usage
command to support collecting demo usage.resolve #965