Skip to content

Conversation

@ReganYue
Copy link
Contributor

@ReganYue ReganYue commented Apr 28, 2022

Fix the problem that the parameter content is inconsistent with the source code

fix #4719

…ource code

Fix the problem that the parameter content is inconsistent with the source code
@CLAassistant
Copy link

CLAassistant commented Apr 28, 2022

CLA assistant check
All committers have signed the CLA.

@paddle-bot-old
Copy link

Thanks for your contribution!

- **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
Copy link
Collaborator

@Ligoml Ligoml May 7, 2022

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。

注意:参数后用 - ,句尾加标点符号 参数是可选的


- **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
Copy link
Collaborator

@Ligoml Ligoml May 7, 2022

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。
Copy link
Collaborator

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。
Copy link
Collaborator

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。
Copy link
Collaborator

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。
Copy link
Collaborator

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。
Copy link
Collaborator

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。
Copy link
Collaborator

Choose a reason for hiding this comment

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

参考源码,这些参数的确是可选的,因为有默认值,所以用户可以不用设置,需要修改的是英文文档

@ReganYue
Copy link
Contributor Author

ReganYue commented May 7, 2022

收到~

Modify the document parameters and add a period to the document.
@Ligoml Ligoml merged commit 32c967b into PaddlePaddle:develop Jun 17, 2022
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.

ReganYue 第三期 文档评估

3 participants