Skip to content

ConvertBoundingBoxFormat should support inplace #8923

Open
@NicolasHug

Description

@NicolasHug

The functional does support inplace:

def convert_bounding_box_format(
inpt: torch.Tensor,
old_format: Optional[BoundingBoxFormat] = None,
new_format: Optional[BoundingBoxFormat] = None,
inplace: bool = False,
) -> torch.Tensor:

But for some reason the class doesn't. I don't remember if there was any limitation to this, but we should try.

CC @AntoineSimoulin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions