-
Notifications
You must be signed in to change notification settings - Fork 184
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
[Refine] Refine yinglong code #786
[Refine] Refine yinglong code #786
Conversation
[pull] develop from PaddlePaddle:develop
[pull] develop from PaddlePaddle:develop
Thanks for your contribution! |
9779ebc
to
e7da995
Compare
93ee454
to
99a4d67
Compare
examples/yinglong/README.md
Outdated
# YingLong-12 Layers | ||
python examples/yinglong/predict_12layers.py | ||
python ./predict_12layers.py mode=infer |
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.
不需要这个“./”吧?
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.
已删除
examples/yinglong/README.md
Outdated
# YingLong-24 Layers | ||
# python examples/yinglong/predict_24layers.py | ||
python ./predict_24layers.py mode=infer |
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.
同上
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.
已删除
) | ||
# predictor = YingLong( | ||
# args.model_file, args.params_file, args.mean_path, args.std_path | ||
# ) |
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.
之前的代码可以删掉啦
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.
已删除
subdir: ./ | ||
|
||
# general settings | ||
mode: train # running mode: train/eval |
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.
mode默认值可以改成infer,默认值为目前还不支持的train有点奇怪
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.
已改为infer
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
* refine yinglong predictor and use config instead of argparser * modify README of yinglong * fix for review
PR types
Others
PR changes
APIs
Describe
base.Predictor
继承