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】16、在 Paddle 中新增 WideResNet #36954

Closed
wants to merge 25 commits into from
Closed

【PaddlePaddle Hackathon】16、在 Paddle 中新增 WideResNet #36954

wants to merge 25 commits into from

Conversation

OccupyMars2025
Copy link
Contributor

@OccupyMars2025 OccupyMars2025 commented Nov 2, 2021

PR types

New features

PR changes

APIs

Describe

add wide resnet
task 16: #35994
改写自 torchvision.models.resnet

1.torchvision.models中的wide resnet预训练模型被转化为paddle预训练模型,纯手工完成,代码地址如下:
https://github.com/SmirnovKol/some-useful-code/blob/main/pytorch_to_paddle.ipynb

2.转化后的paddle预训练模型地址如下:
https://aistudio.baidu.com/aistudio/datasetdetail/115082/0

3.验证转化后的paddle模型在Imagenet-1k验证集上的精度(请查看v0.1版):
https://aistudio.baidu.com/aistudio/projectdetail/2557824

  • wide_resnet50_2: {'acc_top1': 0.78468, 'acc_top5': 0.94086}
  • wide_resnet101_2: {'acc_top1': 0.78846, 'acc_top5': 0.94284}

@paddle-bot-old
Copy link

paddle-bot-old bot commented Nov 2, 2021

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

@paddle-bot-old
Copy link

paddle-bot-old bot commented Nov 2, 2021

✅ This PR's description meets the template requirements!
Please wait for other CI results.

@LielinJiang
Copy link
Contributor

LielinJiang commented Nov 8, 2021

改写自torchvision的话,可以在文件头添加下参考

CI没有通过,需要查看下原因

@OccupyMars2025
Copy link
Contributor Author

已经在Paddle/python/paddle/vision/models/resnet.py 开头添加注释说明该文件是改编自torchvision.models.resnet。但有些CI失败,我看其中的报错信息,似乎与我修改的代码无关,比如PR-CI-CINN报错信息为: check docker md5 fail !。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants