-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Refactor] Refactor Deploy Code #2881
Conversation
paddleseg/deploy/infer.py
Outdated
"please set --enable_auto_tune=True to use auto_tune. \n") | ||
exit() | ||
|
||
if hasattr(args, 'benchmark') and args.benchmark: |
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.
可以把这个auto_log删掉,没什么用,搞得逻辑还很复杂。
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.
这个auto_log
估计还不能删掉,因为所有的 TIPC benchmark 链条都依赖这个库的输出日志
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.
LGTM
PR types
Others
PR changes
APIs
Description
train.py
替换为tools/train.py
。ConfigChecker
类添加add_rule
接口,以便从外部追加规则。