Skip to content

Feature Request: Restart option for the feature extraction pipeline #893

@GeorgeBatch

Description

@GeorgeBatch
  • TIA Toolbox version: develop branch
  • Python version: 3.11
  • Operating System: linux

Feature Request

I am computing features from a bunch of Whole Slide Images using code like in https://github.com/TissueImageAnalytics/tiatoolbox/blob/develop/examples/11-import-foundation-models.ipynb

I think a restart option would be very beneficial when computing features for many slides.

Currently, the save directory is checked. If it already exists, the process terminates with an Error. This is good to prevent overwriting, but restarting would be also good to have, if asked for. To implement the restart option, I think the overwriting prevention would need to be handled on slide level instead of checking the existence of a directory, which means that instead of numbered features, real names would probably need to be used when saving features and positions npy files.

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