pytorch / pytorch/vision

[feature proposal] U-Nets with pretrained torchvision backbones

Open
#834 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
17.9k
Forks
7.3k
Avg merge
1d 15h
Merged PRs (30d)
13

Description

I was thinking about extending torchvision models with an U-Net builder for segmentation, that takes pre-trained torchvision classification models as backbone architectures in the encoder path of the U-Net, and builds a decoder on top of it, using features from specified layers of the backbone model.

I already implemented this for ResNet, DenseNet and VGG models in a separate module:
https://github.com/mkisantal/backboned-unet

Now I'm thinking about integrating it directly with torchvision. Do you think it would be a useful new feature?

It's not an addition to the available torchvision models in the traditional sense, as it just transforms the available models, does not work out of the box but requires training. But it can make torchvision easier to use for segmentation problems.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The proposal links to the separate backboned-unet module and names its ResNet, DenseNet, and VGG implementations. Start by reviewing that module and the relevant torchvision model interfaces; the integration scope and acceptance criteria would need to be decided before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.