Skip to content

NucleusInstanceSegmentor.predict() has no "patch" mode #780

Open
@alevangel

Description

@alevangel
  • TIA Toolbox version: 1.5.1
  • Python version: 3.8
  • Operating System: Windows

What I Did

I would like to do some test with patch mode prediction for Nucleus Instance Segmentation, but I see that is still not implemented?

Here is stated that can be used:

Args:
imgs (list, ndarray):
List of inputs to process. When using `"patch"` mode,
the input must be either a list of images, a list of
image file paths or a numpy array of an image list. When
using `"tile"` or `"wsi"` mode, the input must be a list
of file paths.

But here we assume that could be only 'tile' or 'wsi':

if mode not in ["wsi", "tile"]:
msg = f"{mode} is not a valid mode. Use either `tile` or `wsi`."
raise ValueError(msg)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions