Skip to content

[Feature] add is_resize_mask configuration option in instance_segmentation.cpp #2227

@ruisv

Description

@ruisv

Motivation

Hi,
I found that when using the mmdeploy sdk to infer the instance segmentation model, the mask is resized and cropped by default.
eg:
image

Somtime, the user may need to keep the original mask (such as the shape of the input image is consistent).
eg:
image

I think a configuration option should be added to control. (pipeline.json)
eg:
image

Thanks.

Related resources

No response

Additional context

The following repo contains my commits.
ruisv@599617e

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions