-
Notifications
You must be signed in to change notification settings - Fork 874
Fix the problem that the parameter content is inconsistent with the source code #4703
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
…ource code Fix the problem that the parameter content is inconsistent with the source code
|
Thanks for your contribution! |
docs/api/paddle/hub/help_cn.rst
Outdated
| - **repo_dir** (str): repo地址,支持git地址形式和local地址。git地址由repo拥有者/repo名字:repo分支组成,实例:PaddlePaddle/PaddleClas:develop;local地址为repo的本地路径 | ||
| - **model** (str): 模型的名字 | ||
| - **source** (str | 可选): 指定repo托管的位置,支持github和local,默认值:github | ||
| - **source** (str): 指定repo托管的位置,支持github、gitee和local,默认值:github |
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.
- source (str | 可选)- 指定repo托管的位置,支持github、gitee和local,默认值:github。
注意:参数后用 - ,句尾加标点符号。 参数是可选的
docs/api/paddle/hub/list_cn.rst
Outdated
|
|
||
| - **repo_dir** (str): repo地址,支持git地址形式和local地址。git地址由repo拥有者/repo名字:repo分支组成,实例:PaddlePaddle/PaddleClas:develop;local地址为repo的本地路径 | ||
| - **source** (str | 可选): 指定repo托管的位置,支持github和local,默认值:github | ||
| - **source** (str): 指定repo托管的位置,支持github、gitee和local,默认值:github |
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.
注意:参数后用 - ,句尾加标点符号。 参数是可选的
| - **bn_size** (int) - 中间层growth rate的拓展倍数。默认值:4。 | ||
| - **dropout** (float) - dropout rate。默认值:0.。 | ||
| - **num_classes** (int) - 类别数目,即最后一个全连接层输出的维度。默认值:1000。 | ||
| - **with_pool** (bool) - 是否定义最后一个全连接层之前的池化层。默认值:True。 |
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.
参考源码,这些参数的确是可选的,因为有默认值,所以用户可以不用设置,需要修改的是英文文档
| 参数 | ||
| ::::::::: | ||
| - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 | ||
| - **pretrained** (bool) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 |
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.
参考源码,这些参数的确是可选的,因为有默认值,所以用户可以不用设置,需要修改的是英文文档
| 参数 | ||
| ::::::::: | ||
| - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 | ||
| - **pretrained** (bool) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 |
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.
参考源码,这些参数的确是可选的,因为有默认值,所以用户可以不用设置,需要修改的是英文文档
| 参数 | ||
| ::::::::: | ||
| - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 | ||
| - **pretrained** (bool) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 |
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.
参考源码,这些参数的确是可选的,因为有默认值,所以用户可以不用设置,需要修改的是英文文档
| 参数 | ||
| ::::::::: | ||
| - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 | ||
| - **pretrained** (bool) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 |
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.
参考源码,这些参数的确是可选的,因为有默认值,所以用户可以不用设置,需要修改的是英文文档
| 参数 | ||
| ::::::::: | ||
| - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 | ||
| - **pretrained** (bool) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 |
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.
参考源码,这些参数的确是可选的,因为有默认值,所以用户可以不用设置,需要修改的是英文文档
|
收到~ |
Modify the document parameters and add a period to the document.
Fix the problem that the parameter content is inconsistent with the source code
fix #4719