tiatoolbox
tiatoolbox copied to clipboard
NucleusInstanceSegmentor.predict() has no "patch" mode
- 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: https://github.com/TissueImageAnalytics/tiatoolbox/blob/000296305aa1faee5c95bac67ff37a23012ea53e/tiatoolbox/models/engine/semantic_segmentor.py#L1279-L1285
But here we assume that could be only 'tile' or 'wsi': https://github.com/TissueImageAnalytics/tiatoolbox/blob/000296305aa1faee5c95bac67ff37a23012ea53e/tiatoolbox/models/engine/semantic_segmentor.py#L1347-L1349
We are working on improving the structure of engines in #578
We are working on improving the structure of engines in #578
The patch mode should still work as NucleusInstanceSegmentor
is inheriting from SemanticSegmentor
[doc]