-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Add script for inference by using checkpoint #730
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
Conversation
type=str, | ||
default='data/infer_feature.lst', | ||
help='The feature list path for inference. (default: %(default)s)') | ||
parser.add_argument( |
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.
Please notice the alignment.
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.
Skipped
fluid/DeepASR/infer_by_ckpt.py
Outdated
'--checkpoint', | ||
type=str, | ||
default='./checkpoint', | ||
help="Checkpoints. Do not save checkpoint if set to ''. (default: %(default)s)" |
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.
Seems exceeded 80 columns.
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
fluid/DeepASR/infer_by_ckpt.py
Outdated
|
||
def infer_from_ckpt(args): | ||
"""inference by using checkpoint. | ||
""" |
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.
"""inference by using checkpoint."""
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
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
Resolve #731