-
Notifications
You must be signed in to change notification settings - Fork 762
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
fix paddle.vision.models.* cn docs #4936
fix paddle.vision.models.* cn docs #4936
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-4936.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
ee4e749
to
307947a
Compare
@Ainavo 出来挨打,为什么你写的全是 CRLF 的……
This comment was marked as outdated.
This comment was marked as outdated.
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.
good job!
LGTM
|
||
- **layers** (int,可选) - DenseNet 的层数。默认值为 121。 | ||
- **bn_size** (int,可选) - 中间层 growth rate 的拓展倍数。默认值为 4。 | ||
- **dropout** (float,可选) - dropout rate。默认值为 0.。 |
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.
可以这样写,默认值为 :math:`0.0`。
参考#4844 ,文档效果:paddle.nn.initializer.TruncatedNormal
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.
这个的话,有一个具体的规范吗,是说所有数字都要(比如上面的 121 和 4)这样呢,还是说仅这种浮点数需要这样呢?
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.
如果这样的话,建议在之后的 PR 进行全量更新吧,对所有的 API 文档~(主要是 en merge 了我也不合适在这里改了 😂)
PR 内容
paddle.vision.models API 文档修复
英文文档同步更新 PR
PaddlePaddle/Paddle#43636
PADDLEPADDLE_PR=43636
等待的前置 PR
现在只是把需要的工作列出来~还在等一些 PR merge 再开始工作~
相关 issue
总结存在的问题:
英文文档:
中文文档:
「InceptionV3」「小于0」 改为「小于等于0」统一 num_classes 的描述可 close 的 issue:
fixes #4885, fixes #4884, fixes #4883, fixes #4835, fixes #4834, fixes #4833, fixes #4831, fixes #4830, fixes #4829, fixes #4828, fixes #4832, fixes #4827, fixes #4803, fixes #4795, fixes #4779, fixes #4772, fixes #4770, fixes #4765, fixes #4719, fixes #4696, fixes #4240
其它
更新了下当时忘记添加的 api labels,因为顺序有点乱稍微排了下序