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

[PaddlePaddle Hackathon] add DenseNet #36077

Closed
wants to merge 3 commits into from
Closed

[PaddlePaddle Hackathon] add DenseNet #36077

wants to merge 3 commits into from

Conversation

LyndonKong
Copy link
Contributor

@LyndonKong LyndonKong commented Sep 25, 2021

PR types

New features

PR changes

APIs

Describe

  • Task #35999
  • 增加对 DenseNet 的支持,可以通过 paddle.vision. models.DenseNet创建DenseNet网络结构,提供了
    • densenet121
    • densenet161
    • densenet169
    • densenet201

上述Layer对象均可使用 PaddleClas 中提供的ImageNet预训练权重。

Performance

AiStudio 精度测试
基准参考:https://github.com/PaddlePaddle/PaddleClas/blob/release/2.2/docs/en/ImageNet_models_en.md

Progress

  • 网络实现
  • 预训练支持
  • 单测
  • 文档

@CLAassistant
Copy link

CLAassistant commented Sep 25, 2021

CLA assistant check
All committers have signed the CLA.

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@LyndonKong LyndonKong changed the title implement new feature densenet [PaddlePaddle Hackathon] add wide DenseNet Sep 26, 2021
@LyndonKong LyndonKong changed the title [PaddlePaddle Hackathon] add wide DenseNet [PaddlePaddle Hackathon] add DenseNet Sep 27, 2021
@LielinJiang
Copy link
Contributor

代码冲突了,需要解决下冲突。
请参考这个PR:#36070
提个下自测代码和精度

densenet = DenseNet(block_config=config, num_classes=10)
"""

def __init__(self,
Copy link
Contributor

Choose a reason for hiding this comment

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

补充一个with_pool,同时num_classes保持一致的逻辑,在小于等于0时不创建最后的全连接层

@TCChenlong
Copy link
Contributor

这个还是有冲突哈,需要在处理下

@LyndonKong
Copy link
Contributor Author

@TCChenlong 冲突修复完成,补上了精度测试,更新了文档中的参数描述,辛苦review一下

@paddle-bot-old paddle-bot-old bot added the contributor External developers label Sep 1, 2022
@luotao1
Copy link
Contributor

luotao1 commented Sep 6, 2022

@LyndonKong 感谢你在飞桨黑客松1期的贡献,由于DenseNet已经合入 #36069,先将这个PR关闭。

有任何问题欢迎随时联系我们~

@luotao1 luotao1 closed this Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants