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

Add fcn_resnet50 and deeplabv3_resnet50 pretrained models. #2086

Merged
merged 1 commit into from
Apr 10, 2020

Conversation

mthrok
Copy link
Contributor

@mthrok mthrok commented Apr 9, 2020

This PR adds pre-trained models for FCN ResNet 50 and DeepLabV3 ResNet 50.

$ python -c 'import torchvision;torchvision.models.segmentation.fcn_resnet50(pretrained=True)'
Downloading: "https://download.pytorch.org/models/fcn_resnet50_coco-1167a1af.pth" to /home/moto/.cache/torch/checkpoints/fcn_resnet50_coco-1167a1af.pth
100.0%
$python -c 'import torchvision;torchvision.models.segmentation.deeplabv3_resnet50(pretrained=True)'
Downloading: "https://download.pytorch.org/models/deeplabv3_resnet50_coco-cd0a2569.pth" to /home/moto/.cache/torch/checkpoints/deeplabv3_resnet50_coco-cd0a2569.pth
100.0%

Closes #1853
cc @isalirezag

@mthrok mthrok requested a review from fmassa April 9, 2020 18:51
Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

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

Great, thanks a lot Moto!

For a follow-up PR, can you also add the training commands that you used in https://github.com/pytorch/vision/tree/master/references/segmentation ?

@fmassa fmassa merged commit bf843c6 into pytorch:master Apr 10, 2020
@mthrok mthrok deleted the add-pretrain-refnet50 branch April 10, 2020 14:21
@WaterKnight1998
Copy link

@fmassa and @mthrok have this been added to torchvision 0.6?

@fmassa
Copy link
Member

fmassa commented Apr 23, 2020

@WaterKnight1998 no, this is only on torchvision nightlies

fmassa pushed a commit to fmassa/vision-1 that referenced this pull request Jul 8, 2020
facebook-github-bot pushed a commit that referenced this pull request Jul 8, 2020
#2426)

Summary: Pull Request resolved: #2426

Reviewed By: zhangguanheng66

Differential Revision: D22432651

Pulled By: fmassa

fbshipit-source-id: 29244e5fb7b40121c72c897c0467dd1e6a1ba295
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.

pretrain models for FCN and DeepLabV3
3 participants