Skip to content
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

【Hackathon 7th】Remove parser.add_argument #3878

Merged
merged 11 commits into from
Nov 14, 2024

Conversation

Liyulingyue
Copy link
Contributor

@Liyulingyue Liyulingyue commented Nov 9, 2024

PR types

Bug fixes

PR changes

Others

Describe

  1. 在Bin文件夹的脚本中,会通过 parser = default_argument_parser() 获取预配置的参数名,但是在 main 中又重复定义了参数名,导致报错。
  2. Example中 README命令和实际脚本不一致,并且提供的预训练模型无法推理
  3. static_model.forward.code 在最新的版本中已经不支持使用了,通过try-except执行

@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Nov 12, 2024
@PaddlePaddle PaddlePaddle unlocked this conversation Nov 12, 2024
@Liyulingyue Liyulingyue requested a review from zxcd November 13, 2024 11:29
Copy link
Collaborator

@zxcd zxcd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zxcd zxcd merged commit 419af45 into PaddlePaddle:develop Nov 14, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants