Skip to content

Segmentation on Images with More Than Three Channels #1

@walkeraw2002

Description

@walkeraw2002

Hello,

I had a question regarding running the segmentation module on images that have more than three channels.

I know maskDINO is built for RGB, but are you able to pass in an image of more than three channels into the segmentation module?

When I try and segment a 4-channel image using the CelloType Predictor MaskDINO model, I get the following error:
RuntimeError: The size of tensor a (4) must match the size of tensor b (3) at non-singleton dimension 0

Any guidance on how to handle the segmentation and/or cell type classification of images that have more than three channels would be very much appreciated. Thank you for your time!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions