Skip to content

Make UNet backbone support dynamic shape #1236

@RunningLeon

Description

@RunningLeon

Describe the feature

Motivation
Currently, UNet backbone in mmseg could not be feed with different scale of images.
Hope to support dynamic feature.
Most related code is here

out = torch.cat([skip, x], dim=1)

Related resources
If there is an official code release or third-party implementations, please also provide the information here, which would be very helpful.

Additional context
Add any other context or screenshots about the feature request here.
If you would like to implement the feature and create a PR, please leave a comment here and that would be much appreciated.

Metadata

Metadata

Assignees

Labels

WIPWork in processenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions