From d03b4070f0882b66d74a75089f2534487190034d Mon Sep 17 00:00:00 2001 From: Aakash Rao Date: Fri, 10 Jul 2026 10:03:39 +0100 Subject: [PATCH 01/13] Partial commit for descriptions and metadata to the pretrained model yaml file --- tiatoolbox/data/pretrained_model.yaml | 430 +++++++++++++++++++++++++- uv.lock | 3 + 2 files changed, 422 insertions(+), 11 deletions(-) create mode 100644 uv.lock diff --git a/tiatoolbox/data/pretrained_model.yaml b/tiatoolbox/data/pretrained_model.yaml index 656ecf2bb..9ddb392b4 100644 --- a/tiatoolbox/data/pretrained_model.yaml +++ b/tiatoolbox/data/pretrained_model.yaml @@ -1,5 +1,11 @@ alexnet-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -14,6 +20,12 @@ alexnet-kather100k: dataset: kather100k resnet18-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -28,6 +40,12 @@ resnet18-kather100k: dataset: kather100k resnet34-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -42,6 +60,12 @@ resnet34-kather100k: dataset: kather100k resnet50-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -56,6 +80,12 @@ resnet50-kather100k: dataset: kather100k resnet101-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -70,6 +100,12 @@ resnet101-kather100k: dataset: kather100k resnext50_32x4d-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -84,6 +120,12 @@ resnext50_32x4d-kather100k: dataset: kather100k resnext101_32x8d-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -98,6 +140,12 @@ resnext101_32x8d-kather100k: dataset: kather100k wide_resnet50_2-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -112,6 +160,12 @@ wide_resnet50_2-kather100k: dataset: kather100k wide_resnet101_2-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -126,6 +180,12 @@ wide_resnet101_2-kather100k: dataset: kather100k densenet121-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -140,6 +200,12 @@ densenet121-kather100k: dataset: kather100k densenet161-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -154,6 +220,12 @@ densenet161-kather100k: dataset: kather100k densenet169-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -168,6 +240,12 @@ densenet169-kather100k: dataset: kather100k densenet201-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -182,6 +260,12 @@ densenet201-kather100k: dataset: kather100k mobilenet_v2-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -196,6 +280,12 @@ mobilenet_v2-kather100k: dataset: kather100k mobilenet_v3_large-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -210,6 +300,12 @@ mobilenet_v3_large-kather100k: dataset: kather100k mobilenet_v3_small-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -224,6 +320,12 @@ mobilenet_v3_small-kather100k: dataset: kather100k googlenet-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: vanilla.CNNModel kwargs: @@ -239,6 +341,18 @@ googlenet-kather100k: alexnet-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -253,6 +367,12 @@ alexnet-pcam: dataset: pcam resnet18-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -267,6 +387,12 @@ resnet18-pcam: dataset: pcam resnet34-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -281,6 +407,12 @@ resnet34-pcam: dataset: pcam resnet50-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -295,6 +427,12 @@ resnet50-pcam: dataset: pcam resnet101-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -309,6 +447,12 @@ resnet101-pcam: dataset: pcam resnext50_32x4d-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -323,6 +467,12 @@ resnext50_32x4d-pcam: dataset: pcam resnext101_32x8d-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -337,6 +487,12 @@ resnext101_32x8d-pcam: dataset: pcam wide_resnet50_2-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -351,6 +507,12 @@ wide_resnet50_2-pcam: dataset: pcam wide_resnet101_2-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -365,6 +527,12 @@ wide_resnet101_2-pcam: dataset: pcam densenet121-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -379,6 +547,12 @@ densenet121-pcam: dataset: pcam densenet161-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -393,6 +567,12 @@ densenet161-pcam: dataset: pcam densenet169-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -407,6 +587,12 @@ densenet169-pcam: dataset: pcam densenet201-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -421,6 +607,12 @@ densenet201-pcam: dataset: pcam mobilenet_v2-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -435,6 +627,12 @@ mobilenet_v2-pcam: dataset: pcam mobilenet_v3_large-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -449,6 +647,12 @@ mobilenet_v3_large-pcam: dataset: pcam mobilenet_v3_small-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -463,6 +667,12 @@ mobilenet_v3_small-pcam: dataset: pcam googlenet-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Predict breast cancer metastases in lymph node tissue images at a patch level. + primary_site: breast + supported_sites: + - breast architecture: class: vanilla.CNNModel kwargs: @@ -478,6 +688,10 @@ googlenet-pcam: resnet18-idars-tumour: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: + supported_sites: architecture: class: idars.IDaRS kwargs: @@ -491,6 +705,10 @@ resnet18-idars-tumour: input_resolutions: [{"resolution": 0.5, "units": "mpp"}] resnet34-idars-msi: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: + supported_sites: architecture: class: idars.IDaRS kwargs: @@ -504,6 +722,10 @@ resnet34-idars-msi: input_resolutions: [{"resolution": 1, "units": "mpp"}] resnet34-idars-braf: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: + supported_sites: architecture: class: idars.IDaRS kwargs: @@ -517,6 +739,10 @@ resnet34-idars-braf: input_resolutions: [{"resolution": 1, "units": "mpp"}] resnet34-idars-cimp: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: + supported_sites: architecture: class: idars.IDaRS kwargs: @@ -530,6 +756,10 @@ resnet34-idars-cimp: input_resolutions: [{"resolution": 1, "units": "mpp"}] resnet34-idars-cin: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: + supported_sites: architecture: class: idars.IDaRS kwargs: @@ -543,6 +773,10 @@ resnet34-idars-cin: input_resolutions: [{"resolution": 1, "units": "mpp"}] resnet34-idars-tp53: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: + supported_sites: architecture: class: idars.IDaRS kwargs: @@ -556,6 +790,10 @@ resnet34-idars-tp53: input_resolutions: [{"resolution": 1, "units": "mpp"}] resnet34-idars-hm: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: + supported_sites: architecture: class: idars.IDaRS kwargs: @@ -571,6 +809,11 @@ resnet34-idars-hm: fcn-tissue_mask: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: Segmentation of tissue regions across different cancer types + primary_site: agnostic + supported_sites: + - agnostic architecture: class: unet.UNetModel kwargs: @@ -578,7 +821,6 @@ fcn-tissue_mask: num_output_channels: 2 encoder: "resnet50" decoder_block: [3] - class_dict: {1: "Tissue"} ioconfig: class: io_config.IOSegmentorConfig kwargs: @@ -594,6 +836,11 @@ fcn-tissue_mask: fcn_resnet50_unet-bcss: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: Segments tumor, stroma, necrosi, and inflamatory regions in breast cancer images + primary_site: breast + supported_sites: + - breast architecture: class: unet.UNetModel kwargs: @@ -601,7 +848,6 @@ fcn_resnet50_unet-bcss: num_output_channels: 5 encoder: "resnet50" decoder_block: [3, 3] - class_dict: {0: "Tumour", 1: "Stroma", 2: "Inflamatory", 3: "Necrosis", 4: "Others"} ioconfig: class: io_config.IOSegmentorConfig kwargs: @@ -616,10 +862,13 @@ fcn_resnet50_unet-bcss: unet_tissue_mask_tsef: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights - description: > - These weights can be used to segment a grayscale image to - create a tissue mask excluding the fatty region. TSEF stands for tissue - segmentation excluding fat. + catalog: + description: > + These weights can be used to segment a grayscale image to + create a tissue mask excluding the fatty region. TSEF stands for tissue + segmentation excluding fat. + primary_site: agnostic + supported_sites: architecture: class: unet.UNetModel kwargs: @@ -642,6 +891,21 @@ unet_tissue_mask_tsef: hovernet_fast-pannuke: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Instance Segmentation and detection of Neoplastic, Inflammatory, Connective, Dead, and Non-Neoplastic Epithelial nuclei across different cancer types. + primary_site: agnostic + supported_sites: + - liver + - prostate + - kidney + - breast + - stomach + - colon + - bladder + - brain + - head and neck + - lung architecture: class: hovernet.HoVerNet kwargs: @@ -674,6 +938,15 @@ hovernet_fast-pannuke: hovernet_fast-monusac: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Instance Segmentation and detection of Epithelial, Lymphocyte, Macrophage, and Neutrophil nuclei across different cancer types. + primary_site: agnostic + supported_sites: + - breast + - kidney + - lung + - prostate] architecture: class: hovernet.HoVerNet kwargs: @@ -705,6 +978,12 @@ hovernet_fast-monusac: hovernet_original-consep: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: > + Instance Segmentation and detection of Epithelial, Inflammatory, and Spindle-Shaped nuclei in colon images. + primary_site: colon + supported_sites: + - colon architecture: class: hovernet.HoVerNet kwargs: @@ -735,6 +1014,17 @@ hovernet_original-consep: hovernet_original-kumar: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: Instance Segmentation and detection of Epithelial, Inflammatory, and Spindle-Shaped nuclei across different cancer types. + primary_site: agnostic + supported_sites: + - liver + - prostate + - kidney + - breast + - stomach + - colon + - bladder] architecture: class: hovernet.HoVerNet kwargs: @@ -795,6 +1085,11 @@ hovernetplus-oed: micronet-consep: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: colon + supported_sites: + - colon architecture: class: micronet.MicroNet kwargs: @@ -816,6 +1111,10 @@ micronet-consep: mapde-crchisto: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: + supported_sites: architecture: class: mapde.MapDe kwargs: @@ -842,6 +1141,11 @@ mapde-crchisto: mapde-conic: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: colon + supported_sites: + - colon architecture: class: mapde.MapDe kwargs: @@ -867,6 +1171,10 @@ mapde-conic: sccnn-crchisto: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: + supported_sites: architecture: class: sccnn.SCCNN kwargs: @@ -893,6 +1201,11 @@ sccnn-crchisto: sccnn-conic: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: colon + supported_sites: + - colon architecture: class: sccnn.SCCNN kwargs: @@ -919,6 +1232,20 @@ sccnn-conic: nuclick_original-pannuke: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: agnostic + supported_sites: + - liver + - prostate + - kidney + - breast + - stomach + - colon + - bladder + - brain + - head and neck + - lung architecture: class: nuclick.NuClick kwargs: @@ -938,6 +1265,20 @@ nuclick_original-pannuke: nuclick_light-pannuke: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: + primary_site: agnostic + supported_sites: + - liver + - prostate + - kidney + - breast + - stomach + - colon + - bladder + - brain + - head and neck + - lung architecture: class: unet.UNetModel kwargs: @@ -961,6 +1302,11 @@ nuclick_light-pannuke: grandqc_tissue_detection: hf_repo_id: TIACentre/GrandQC_Tissue_Detection + catalog: + description: > + Segmentation model for masking background from tissue regions + primary_site: agnostic + supported_sites: agnostic architecture: class: grandqc.GrandQCModel kwargs: @@ -984,6 +1330,12 @@ grandqc_tissue_detection: KongNet_CoNIC_1: hf_repo_id: TIACentre/KongNet_pretrained_weights + catalog: + description: > + Nuclei detection model for neutrophils, epithelial, lymphocytes, plasma, eosinophil, and connective nuclei in colorectal cancer. + primary_site: colon + supported_sites: + - colon architecture: class: kongnet.KongNet kwargs: @@ -1016,6 +1368,21 @@ KongNet_CoNIC_1: KongNet_PanNuke_1: hf_repo_id: TIACentre/KongNet_pretrained_weights + catalog: + description: > + Nucleus detection model for connective, neoplastic, epithelial, dead, and inflamatory nuclei across multiple cancers. + primary_site: agnostic + supported_sites: + - liver + - prostate + - kidney + - breast + - stomach + - colon + - bladder + - brain + - head and neck + - lung architecture: class: kongnet.KongNet kwargs: @@ -1047,6 +1414,12 @@ KongNet_PanNuke_1: KongNet_MONKEY_1: hf_repo_id: TIACentre/KongNet_pretrained_weights + catalog: + description: > + Model for detecting lymphocytes, monocytes, and inflamatory nuclei in Kidney Biopsy images. + primary_site: kidney + supported_sites: + - kidney architecture: class: kongnet.KongNet kwargs: @@ -1076,6 +1449,18 @@ KongNet_MONKEY_1: KongNet_PUMA_T1_3: hf_repo_id: TIACentre/KongNet_pretrained_weights + catalog: + description: > + Nuclei detection model for detecting Tumor and Lymphocyte nuclei in melanoma and metastatic melanoma. + primary_site: skin + supported_sites: + - bone + - lung + - liver + - brain + - gastrointestinal tract + - soft tissue + - lymph node] architecture: class: kongnet.KongNet kwargs: @@ -1105,6 +1490,18 @@ KongNet_PUMA_T1_3: KongNet_PUMA_T2_3: hf_repo_id: TIACentre/KongNet_pretrained_weights + catalog: + description: > + Nuclei Detection model for detecting tumor, lymphocytes, plasma, histiocyte, melanophage, neutrophil, stroma, epithelium, endothelium, and apoptotic nuclei in melanoma and metastatic melanoma + primary_site: skin + supported_sites: + - bone + - lung + - liver + - brain + - gastrointestinal tract + - soft tissue + - lymph node] architecture: class: kongnet.KongNet kwargs: @@ -1141,6 +1538,17 @@ KongNet_PUMA_T2_3: KongNet_Det_MIDOG_1: hf_repo_id: TIACentre/KongNet_pretrained_weights + catalog: + description: > + Nuclei detection model for mitotic figure detection across different cancer types. + primary_site: agnostic + supported_sites: + - breast + - lung + - lymph node + - neuroendocrine + - skin + - subcutaneous tissue] architecture: class: kongnet.KongNet kwargs: @@ -1168,15 +1576,16 @@ KongNet_Det_MIDOG_1: efficientunet-tissue_mask: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights + catalog: + description: Segmentation model for tissue regions in images across cancer types. + primary_site: agnostic + supported_sites: + - agnostic architecture: class: efficientunet_tissue_mask_model.EfficientUNetTissueMaskModel kwargs: num_classes: 1 threshold: 0.95 - class_dict: { - 0: "Background", - 1: "Tissue", - } ioconfig: class: io_config.IOSegmentorConfig kwargs: @@ -1188,4 +1597,3 @@ efficientunet-tissue_mask: patch_output_shape: [512, 512] stride_shape: [480, 480] save_resolution: {'units': 'mpp', 'resolution': 8.0} - ignore_index: 0 diff --git a/uv.lock b/uv.lock new file mode 100644 index 000000000..c0ba0910c --- /dev/null +++ b/uv.lock @@ -0,0 +1,3 @@ +version = 1 +revision = 3 +requires-python = ">=3.9" From 3b918f2c448db607a92ce447e1a242dd66c6150c Mon Sep 17 00:00:00 2001 From: Aakash Rao Date: Thu, 30 Jul 2026 20:13:06 +0100 Subject: [PATCH 02/13] bug fix --- tiatoolbox/data/pretrained_model.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tiatoolbox/data/pretrained_model.yaml b/tiatoolbox/data/pretrained_model.yaml index 9ddb392b4..f534a4aff 100644 --- a/tiatoolbox/data/pretrained_model.yaml +++ b/tiatoolbox/data/pretrained_model.yaml @@ -946,7 +946,7 @@ hovernet_fast-monusac: - breast - kidney - lung - - prostate] + - prostate architecture: class: hovernet.HoVerNet kwargs: @@ -1024,7 +1024,7 @@ hovernet_original-kumar: - breast - stomach - colon - - bladder] + - bladder architecture: class: hovernet.HoVerNet kwargs: @@ -1460,7 +1460,7 @@ KongNet_PUMA_T1_3: - brain - gastrointestinal tract - soft tissue - - lymph node] + - lymph node architecture: class: kongnet.KongNet kwargs: @@ -1501,7 +1501,7 @@ KongNet_PUMA_T2_3: - brain - gastrointestinal tract - soft tissue - - lymph node] + - lymph node architecture: class: kongnet.KongNet kwargs: @@ -1548,7 +1548,7 @@ KongNet_Det_MIDOG_1: - lymph node - neuroendocrine - skin - - subcutaneous tissue] + - subcutaneous tissue architecture: class: kongnet.KongNet kwargs: From de46add43b9896068096424239ff6e22930fd4af Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 30 Jul 2026 19:23:12 +0000 Subject: [PATCH 03/13] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tiatoolbox/data/pretrained_model.yaml | 128 +++++++++++++------------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/tiatoolbox/data/pretrained_model.yaml b/tiatoolbox/data/pretrained_model.yaml index f534a4aff..12fdb7028 100644 --- a/tiatoolbox/data/pretrained_model.yaml +++ b/tiatoolbox/data/pretrained_model.yaml @@ -4,7 +4,7 @@ alexnet-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -24,7 +24,7 @@ resnet18-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -44,7 +44,7 @@ resnet34-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -64,7 +64,7 @@ resnet50-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -84,7 +84,7 @@ resnet101-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -104,7 +104,7 @@ resnext50_32x4d-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -124,7 +124,7 @@ resnext101_32x8d-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -144,7 +144,7 @@ wide_resnet50_2-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -164,7 +164,7 @@ wide_resnet101_2-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -184,7 +184,7 @@ densenet121-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -204,7 +204,7 @@ densenet161-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -224,7 +224,7 @@ densenet169-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -244,7 +244,7 @@ densenet201-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -264,7 +264,7 @@ mobilenet_v2-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -284,7 +284,7 @@ mobilenet_v3_large-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -304,7 +304,7 @@ mobilenet_v3_small-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -324,7 +324,7 @@ googlenet-kather100k: description: > Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: vanilla.CNNModel @@ -345,13 +345,13 @@ alexnet-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -371,7 +371,7 @@ resnet18-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -391,7 +391,7 @@ resnet34-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -411,7 +411,7 @@ resnet50-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -431,7 +431,7 @@ resnet101-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -451,7 +451,7 @@ resnext50_32x4d-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -471,7 +471,7 @@ resnext101_32x8d-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -491,7 +491,7 @@ wide_resnet50_2-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -511,7 +511,7 @@ wide_resnet101_2-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -531,7 +531,7 @@ densenet121-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -551,7 +551,7 @@ densenet161-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -571,7 +571,7 @@ densenet169-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -591,7 +591,7 @@ densenet201-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -611,7 +611,7 @@ mobilenet_v2-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -631,7 +631,7 @@ mobilenet_v3_large-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -651,7 +651,7 @@ mobilenet_v3_small-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -671,7 +671,7 @@ googlenet-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel @@ -740,7 +740,7 @@ resnet34-idars-braf: resnet34-idars-cimp: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: primary_site: supported_sites: architecture: @@ -757,7 +757,7 @@ resnet34-idars-cimp: resnet34-idars-cin: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: primary_site: supported_sites: architecture: @@ -774,7 +774,7 @@ resnet34-idars-cin: resnet34-idars-tp53: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: primary_site: supported_sites: architecture: @@ -791,7 +791,7 @@ resnet34-idars-tp53: resnet34-idars-hm: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: primary_site: supported_sites: architecture: @@ -813,7 +813,7 @@ fcn-tissue_mask: description: Segmentation of tissue regions across different cancer types primary_site: agnostic supported_sites: - - agnostic + - agnostic architecture: class: unet.UNetModel kwargs: @@ -868,7 +868,7 @@ unet_tissue_mask_tsef: create a tissue mask excluding the fatty region. TSEF stands for tissue segmentation excluding fat. primary_site: agnostic - supported_sites: + supported_sites: architecture: class: unet.UNetModel kwargs: @@ -895,7 +895,7 @@ hovernet_fast-pannuke: description: > Instance Segmentation and detection of Neoplastic, Inflammatory, Connective, Dead, and Non-Neoplastic Epithelial nuclei across different cancer types. primary_site: agnostic - supported_sites: + supported_sites: - liver - prostate - kidney @@ -942,7 +942,7 @@ hovernet_fast-monusac: description: > Instance Segmentation and detection of Epithelial, Lymphocyte, Macrophage, and Neutrophil nuclei across different cancer types. primary_site: agnostic - supported_sites: + supported_sites: - breast - kidney - lung @@ -982,7 +982,7 @@ hovernet_original-consep: description: > Instance Segmentation and detection of Epithelial, Inflammatory, and Spindle-Shaped nuclei in colon images. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: hovernet.HoVerNet @@ -1017,7 +1017,7 @@ hovernet_original-kumar: catalog: description: Instance Segmentation and detection of Epithelial, Inflammatory, and Spindle-Shaped nuclei across different cancer types. primary_site: agnostic - supported_sites: + supported_sites: - liver - prostate - kidney @@ -1086,9 +1086,9 @@ hovernetplus-oed: micronet-consep: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: micronet.MicroNet @@ -1112,7 +1112,7 @@ micronet-consep: mapde-crchisto: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: primary_site: supported_sites: architecture: @@ -1142,9 +1142,9 @@ mapde-crchisto: mapde-conic: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: mapde.MapDe @@ -1172,7 +1172,7 @@ mapde-conic: sccnn-crchisto: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: primary_site: supported_sites: architecture: @@ -1202,9 +1202,9 @@ sccnn-crchisto: sccnn-conic: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: sccnn.SCCNN @@ -1233,9 +1233,9 @@ sccnn-conic: nuclick_original-pannuke: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: primary_site: agnostic - supported_sites: + supported_sites: - liver - prostate - kidney @@ -1266,9 +1266,9 @@ nuclick_original-pannuke: nuclick_light-pannuke: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: primary_site: agnostic - supported_sites: + supported_sites: - liver - prostate - kidney @@ -1334,7 +1334,7 @@ KongNet_CoNIC_1: description: > Nuclei detection model for neutrophils, epithelial, lymphocytes, plasma, eosinophil, and connective nuclei in colorectal cancer. primary_site: colon - supported_sites: + supported_sites: - colon architecture: class: kongnet.KongNet @@ -1372,7 +1372,7 @@ KongNet_PanNuke_1: description: > Nucleus detection model for connective, neoplastic, epithelial, dead, and inflamatory nuclei across multiple cancers. primary_site: agnostic - supported_sites: + supported_sites: - liver - prostate - kidney @@ -1418,7 +1418,7 @@ KongNet_MONKEY_1: description: > Model for detecting lymphocytes, monocytes, and inflamatory nuclei in Kidney Biopsy images. primary_site: kidney - supported_sites: + supported_sites: - kidney architecture: class: kongnet.KongNet @@ -1453,7 +1453,7 @@ KongNet_PUMA_T1_3: description: > Nuclei detection model for detecting Tumor and Lymphocyte nuclei in melanoma and metastatic melanoma. primary_site: skin - supported_sites: + supported_sites: - bone - lung - liver @@ -1494,7 +1494,7 @@ KongNet_PUMA_T2_3: description: > Nuclei Detection model for detecting tumor, lymphocytes, plasma, histiocyte, melanophage, neutrophil, stroma, epithelium, endothelium, and apoptotic nuclei in melanoma and metastatic melanoma primary_site: skin - supported_sites: + supported_sites: - bone - lung - liver @@ -1542,7 +1542,7 @@ KongNet_Det_MIDOG_1: description: > Nuclei detection model for mitotic figure detection across different cancer types. primary_site: agnostic - supported_sites: + supported_sites: - breast - lung - lymph node @@ -1579,7 +1579,7 @@ efficientunet-tissue_mask: catalog: description: Segmentation model for tissue regions in images across cancer types. primary_site: agnostic - supported_sites: + supported_sites: - agnostic architecture: class: efficientunet_tissue_mask_model.EfficientUNetTissueMaskModel From 56656729bf8bd590b0c81e3c7b1df852082b224b Mon Sep 17 00:00:00 2001 From: Aakash Rao Date: Thu, 30 Jul 2026 20:25:50 +0100 Subject: [PATCH 04/13] bug fix in line 343 for duplicate entry --- tiatoolbox/data/pretrained_model.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tiatoolbox/data/pretrained_model.yaml b/tiatoolbox/data/pretrained_model.yaml index f534a4aff..111b49f81 100644 --- a/tiatoolbox/data/pretrained_model.yaml +++ b/tiatoolbox/data/pretrained_model.yaml @@ -341,12 +341,6 @@ googlenet-kather100k: alexnet-pcam: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights - catalog: - description: > - Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: - - breast catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. From c349448599d6ef9baea9c4bb5a98017d0cb100b1 Mon Sep 17 00:00:00 2001 From: Aakash Rao Date: Thu, 30 Jul 2026 20:27:14 +0100 Subject: [PATCH 05/13] bug fix in line 343 for duplicate entry --- tiatoolbox/data/pretrained_model.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tiatoolbox/data/pretrained_model.yaml b/tiatoolbox/data/pretrained_model.yaml index b230eacb7..6e9f4ea27 100644 --- a/tiatoolbox/data/pretrained_model.yaml +++ b/tiatoolbox/data/pretrained_model.yaml @@ -347,12 +347,6 @@ alexnet-pcam: primary_site: breast supported_sites: - breast - catalog: - description: > - Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: - - breast architecture: class: vanilla.CNNModel kwargs: From 017724a1c0dec8f1ea04ea867b5f082c624c92ba Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 30 Jul 2026 19:29:36 +0000 Subject: [PATCH 06/13] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tiatoolbox/data/pretrained_model.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiatoolbox/data/pretrained_model.yaml b/tiatoolbox/data/pretrained_model.yaml index 6e9f4ea27..6b04e7018 100644 --- a/tiatoolbox/data/pretrained_model.yaml +++ b/tiatoolbox/data/pretrained_model.yaml @@ -345,7 +345,7 @@ alexnet-pcam: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. primary_site: breast - supported_sites: + supported_sites: - breast architecture: class: vanilla.CNNModel From 1d728918719e37fa06bc349a0b13fb42d5e7b58b Mon Sep 17 00:00:00 2001 From: Shan E Ahmed Raza <13048456+shaneahmed@users.noreply.github.com> Date: Fri, 9 Oct 2026 11:07:01 +0100 Subject: [PATCH 07/13] :fire: Remove `uv.lock` --- uv.lock | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 uv.lock diff --git a/uv.lock b/uv.lock deleted file mode 100644 index c0ba0910c..000000000 --- a/uv.lock +++ /dev/null @@ -1,3 +0,0 @@ -version = 1 -revision = 3 -requires-python = ">=3.9" From 1474b3f1da68f6563cdc181a9995ae563339a617 Mon Sep 17 00:00:00 2001 From: Aakash Rao Date: Thu, 5 Nov 2026 22:29:32 +0000 Subject: [PATCH 08/13] added class_dict to pcam and kather100k models and updated tissue_type as a replacement for primary_site and supported_sites --- tiatoolbox/data/pretrained_model.yaml | 478 ++++++++++++++++++-------- 1 file changed, 335 insertions(+), 143 deletions(-) diff --git a/tiatoolbox/data/pretrained_model.yaml b/tiatoolbox/data/pretrained_model.yaml index 6b04e7018..9fd0793f4 100644 --- a/tiatoolbox/data/pretrained_model.yaml +++ b/tiatoolbox/data/pretrained_model.yaml @@ -2,9 +2,8 @@ alexnet-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -22,15 +21,25 @@ resnet18-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: resnet18 num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -42,15 +51,25 @@ resnet34-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: resnet34 num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -62,15 +81,25 @@ resnet50-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: resnet50 num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -82,15 +111,25 @@ resnet101-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: resnet101 num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -102,15 +141,25 @@ resnext50_32x4d-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: resnext50_32x4d num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -122,15 +171,25 @@ resnext101_32x8d-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: resnext101_32x8d num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -142,15 +201,25 @@ wide_resnet50_2-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: wide_resnet50_2 num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -162,15 +231,25 @@ wide_resnet101_2-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: wide_resnet101_2 num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -182,15 +261,25 @@ densenet121-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: densenet121 num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -202,15 +291,25 @@ densenet161-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: densenet161 num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -222,15 +321,25 @@ densenet169-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: densenet169 num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -242,15 +351,25 @@ densenet201-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: densenet201 num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -262,15 +381,25 @@ mobilenet_v2-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: mobilenet_v2 num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -282,15 +411,25 @@ mobilenet_v3_large-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: mobilenet_v3_large num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -302,15 +441,25 @@ mobilenet_v3_small-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: mobilenet_v3_small num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -322,15 +471,25 @@ googlenet-kather100k: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Predict Normal, Debri, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - primary_site: colon - supported_sites: + Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. + tissue_type: - colon architecture: class: vanilla.CNNModel kwargs: backbone: googlenet num_classes: 9 + class_dict: { + 0: "background", + 1: "normal", + 2: "debri", + 3: "tumor", + 4: "adipose", + 5: "mucus", + 6: "smooth muscle", + 7: "stroma", + 8: "lymphocytes" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -344,14 +503,17 @@ alexnet-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: alexnet num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -364,14 +526,17 @@ resnet18-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: resnet18 num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -384,14 +549,17 @@ resnet34-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: resnet34 num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -404,14 +572,17 @@ resnet50-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: resnet50 num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -424,14 +595,17 @@ resnet101-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: resnet101 num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -444,14 +618,17 @@ resnext50_32x4d-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: resnext50_32x4d num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -464,14 +641,17 @@ resnext101_32x8d-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: resnext101_32x8d num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -484,14 +664,17 @@ wide_resnet50_2-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: wide_resnet50_2 num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -504,14 +687,17 @@ wide_resnet101_2-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: wide_resnet101_2 num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -524,14 +710,17 @@ densenet121-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: densenet121 num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -544,14 +733,17 @@ densenet161-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: densenet161 num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -564,14 +756,17 @@ densenet169-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: densenet169 num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -584,14 +779,17 @@ densenet201-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: densenet201 num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -604,14 +802,17 @@ mobilenet_v2-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: mobilenet_v2 num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -624,14 +825,17 @@ mobilenet_v3_large-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: mobilenet_v3_large num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -644,14 +848,17 @@ mobilenet_v3_small-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: mobilenet_v3_small num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -664,14 +871,17 @@ googlenet-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: vanilla.CNNModel kwargs: backbone: googlenet num_classes: 2 + class_dict: { + 0: "non-metastatic tissue", + 1: "metastatic tissue" + } ioconfig: class: io_config.IOPatchPredictorConfig kwargs: @@ -684,8 +894,7 @@ resnet18-idars-tumour: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: - supported_sites: + tissue_type: architecture: class: idars.IDaRS kwargs: @@ -701,8 +910,7 @@ resnet34-idars-msi: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: - supported_sites: + tissue_type: architecture: class: idars.IDaRS kwargs: @@ -718,8 +926,7 @@ resnet34-idars-braf: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: - supported_sites: + tissue_type: architecture: class: idars.IDaRS kwargs: @@ -735,8 +942,7 @@ resnet34-idars-cimp: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: - supported_sites: + tissue_type: architecture: class: idars.IDaRS kwargs: @@ -752,8 +958,7 @@ resnet34-idars-cin: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: - supported_sites: + tissue_type: architecture: class: idars.IDaRS kwargs: @@ -769,8 +974,7 @@ resnet34-idars-tp53: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: - supported_sites: + tissue_type: architecture: class: idars.IDaRS kwargs: @@ -786,8 +990,7 @@ resnet34-idars-hm: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: - supported_sites: + tissue_type: architecture: class: idars.IDaRS kwargs: @@ -805,8 +1008,7 @@ fcn-tissue_mask: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: Segmentation of tissue regions across different cancer types - primary_site: agnostic - supported_sites: + tissue_type: - agnostic architecture: class: unet.UNetModel @@ -832,8 +1034,7 @@ fcn_resnet50_unet-bcss: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: Segments tumor, stroma, necrosi, and inflamatory regions in breast cancer images - primary_site: breast - supported_sites: + tissue_type: - breast architecture: class: unet.UNetModel @@ -861,8 +1062,8 @@ unet_tissue_mask_tsef: These weights can be used to segment a grayscale image to create a tissue mask excluding the fatty region. TSEF stands for tissue segmentation excluding fat. - primary_site: agnostic - supported_sites: + tissue_type: + - agnostic architecture: class: unet.UNetModel kwargs: @@ -888,8 +1089,8 @@ hovernet_fast-pannuke: catalog: description: > Instance Segmentation and detection of Neoplastic, Inflammatory, Connective, Dead, and Non-Neoplastic Epithelial nuclei across different cancer types. - primary_site: agnostic - supported_sites: + tissue_type: + - agnostic - liver - prostate - kidney @@ -935,8 +1136,8 @@ hovernet_fast-monusac: catalog: description: > Instance Segmentation and detection of Epithelial, Lymphocyte, Macrophage, and Neutrophil nuclei across different cancer types. - primary_site: agnostic - supported_sites: + tissue_type: + - agnostic - breast - kidney - lung @@ -975,8 +1176,7 @@ hovernet_original-consep: catalog: description: > Instance Segmentation and detection of Epithelial, Inflammatory, and Spindle-Shaped nuclei in colon images. - primary_site: colon - supported_sites: + tissue_type: - colon architecture: class: hovernet.HoVerNet @@ -1010,8 +1210,8 @@ hovernet_original-kumar: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: Instance Segmentation and detection of Epithelial, Inflammatory, and Spindle-Shaped nuclei across different cancer types. - primary_site: agnostic - supported_sites: + tissue_type: + - agnostic - liver - prostate - kidney @@ -1081,8 +1281,7 @@ micronet-consep: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: colon - supported_sites: + tissue_type: - colon architecture: class: micronet.MicroNet @@ -1107,8 +1306,7 @@ mapde-crchisto: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: - supported_sites: + tissue_type: architecture: class: mapde.MapDe kwargs: @@ -1137,8 +1335,7 @@ mapde-conic: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: colon - supported_sites: + tissue_type: - colon architecture: class: mapde.MapDe @@ -1167,8 +1364,7 @@ sccnn-crchisto: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: - supported_sites: + tissue_type: architecture: class: sccnn.SCCNN kwargs: @@ -1197,8 +1393,7 @@ sccnn-conic: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: colon - supported_sites: + tissue_type: - colon architecture: class: sccnn.SCCNN @@ -1228,8 +1423,8 @@ nuclick_original-pannuke: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: agnostic - supported_sites: + tissue_type: + - agnostic - liver - prostate - kidney @@ -1261,8 +1456,8 @@ nuclick_light-pannuke: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - primary_site: agnostic - supported_sites: + tissue_type: + - agnostic - liver - prostate - kidney @@ -1299,8 +1494,8 @@ grandqc_tissue_detection: catalog: description: > Segmentation model for masking background from tissue regions - primary_site: agnostic - supported_sites: agnostic + tissue_type: + - agnostic architecture: class: grandqc.GrandQCModel kwargs: @@ -1327,8 +1522,7 @@ KongNet_CoNIC_1: catalog: description: > Nuclei detection model for neutrophils, epithelial, lymphocytes, plasma, eosinophil, and connective nuclei in colorectal cancer. - primary_site: colon - supported_sites: + tissue_type: - colon architecture: class: kongnet.KongNet @@ -1365,8 +1559,8 @@ KongNet_PanNuke_1: catalog: description: > Nucleus detection model for connective, neoplastic, epithelial, dead, and inflamatory nuclei across multiple cancers. - primary_site: agnostic - supported_sites: + tissue_type: + - agnostic - liver - prostate - kidney @@ -1411,8 +1605,7 @@ KongNet_MONKEY_1: catalog: description: > Model for detecting lymphocytes, monocytes, and inflamatory nuclei in Kidney Biopsy images. - primary_site: kidney - supported_sites: + tissue_type: - kidney architecture: class: kongnet.KongNet @@ -1446,8 +1639,8 @@ KongNet_PUMA_T1_3: catalog: description: > Nuclei detection model for detecting Tumor and Lymphocyte nuclei in melanoma and metastatic melanoma. - primary_site: skin - supported_sites: + tissue_type: + - skin - bone - lung - liver @@ -1487,8 +1680,8 @@ KongNet_PUMA_T2_3: catalog: description: > Nuclei Detection model for detecting tumor, lymphocytes, plasma, histiocyte, melanophage, neutrophil, stroma, epithelium, endothelium, and apoptotic nuclei in melanoma and metastatic melanoma - primary_site: skin - supported_sites: + tissue_type: + - skin - bone - lung - liver @@ -1535,8 +1728,8 @@ KongNet_Det_MIDOG_1: catalog: description: > Nuclei detection model for mitotic figure detection across different cancer types. - primary_site: agnostic - supported_sites: + tissue_type: + - agnostic - breast - lung - lymph node @@ -1572,8 +1765,7 @@ efficientunet-tissue_mask: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: Segmentation model for tissue regions in images across cancer types. - primary_site: agnostic - supported_sites: + tissue_type: - agnostic architecture: class: efficientunet_tissue_mask_model.EfficientUNetTissueMaskModel From 6711a5c6e545138a5c0f1e2aedd867669437b23f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 5 Nov 2026 22:30:14 +0000 Subject: [PATCH 09/13] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tiatoolbox/data/pretrained_model.yaml | 108 +++++++++++++------------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/tiatoolbox/data/pretrained_model.yaml b/tiatoolbox/data/pretrained_model.yaml index 9fd0793f4..7f96172f1 100644 --- a/tiatoolbox/data/pretrained_model.yaml +++ b/tiatoolbox/data/pretrained_model.yaml @@ -3,7 +3,7 @@ alexnet-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -22,7 +22,7 @@ resnet18-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -52,7 +52,7 @@ resnet34-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -82,7 +82,7 @@ resnet50-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -112,7 +112,7 @@ resnet101-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -142,7 +142,7 @@ resnext50_32x4d-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -172,7 +172,7 @@ resnext101_32x8d-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -202,7 +202,7 @@ wide_resnet50_2-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -232,7 +232,7 @@ wide_resnet101_2-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -262,7 +262,7 @@ densenet121-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -292,7 +292,7 @@ densenet161-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -322,7 +322,7 @@ densenet169-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -352,7 +352,7 @@ densenet201-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -382,7 +382,7 @@ mobilenet_v2-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -412,7 +412,7 @@ mobilenet_v3_large-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -442,7 +442,7 @@ mobilenet_v3_small-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -472,7 +472,7 @@ googlenet-kather100k: catalog: description: > Predict Normal, Debris, Tumor, Adipose, Mucus, Smooth, Stroma, Lymphocytes regions at a patch level in colon images. - tissue_type: + tissue_type: - colon architecture: class: vanilla.CNNModel @@ -503,7 +503,7 @@ alexnet-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -526,7 +526,7 @@ resnet18-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -549,7 +549,7 @@ resnet34-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -572,7 +572,7 @@ resnet50-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -595,7 +595,7 @@ resnet101-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -618,7 +618,7 @@ resnext50_32x4d-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -641,7 +641,7 @@ resnext101_32x8d-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -664,7 +664,7 @@ wide_resnet50_2-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -687,7 +687,7 @@ wide_resnet101_2-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -710,7 +710,7 @@ densenet121-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -733,7 +733,7 @@ densenet161-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -756,7 +756,7 @@ densenet169-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -779,7 +779,7 @@ densenet201-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -802,7 +802,7 @@ mobilenet_v2-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -825,7 +825,7 @@ mobilenet_v3_large-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -848,7 +848,7 @@ mobilenet_v3_small-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -871,7 +871,7 @@ googlenet-pcam: catalog: description: > Predict breast cancer metastases in lymph node tissue images at a patch level. - tissue_type: + tissue_type: - breast architecture: class: vanilla.CNNModel @@ -1008,7 +1008,7 @@ fcn-tissue_mask: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: Segmentation of tissue regions across different cancer types - tissue_type: + tissue_type: - agnostic architecture: class: unet.UNetModel @@ -1034,7 +1034,7 @@ fcn_resnet50_unet-bcss: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: Segments tumor, stroma, necrosi, and inflamatory regions in breast cancer images - tissue_type: + tissue_type: - breast architecture: class: unet.UNetModel @@ -1062,7 +1062,7 @@ unet_tissue_mask_tsef: These weights can be used to segment a grayscale image to create a tissue mask excluding the fatty region. TSEF stands for tissue segmentation excluding fat. - tissue_type: + tissue_type: - agnostic architecture: class: unet.UNetModel @@ -1089,7 +1089,7 @@ hovernet_fast-pannuke: catalog: description: > Instance Segmentation and detection of Neoplastic, Inflammatory, Connective, Dead, and Non-Neoplastic Epithelial nuclei across different cancer types. - tissue_type: + tissue_type: - agnostic - liver - prostate @@ -1136,7 +1136,7 @@ hovernet_fast-monusac: catalog: description: > Instance Segmentation and detection of Epithelial, Lymphocyte, Macrophage, and Neutrophil nuclei across different cancer types. - tissue_type: + tissue_type: - agnostic - breast - kidney @@ -1176,7 +1176,7 @@ hovernet_original-consep: catalog: description: > Instance Segmentation and detection of Epithelial, Inflammatory, and Spindle-Shaped nuclei in colon images. - tissue_type: + tissue_type: - colon architecture: class: hovernet.HoVerNet @@ -1210,7 +1210,7 @@ hovernet_original-kumar: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: Instance Segmentation and detection of Epithelial, Inflammatory, and Spindle-Shaped nuclei across different cancer types. - tissue_type: + tissue_type: - agnostic - liver - prostate @@ -1281,7 +1281,7 @@ micronet-consep: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - tissue_type: + tissue_type: - colon architecture: class: micronet.MicroNet @@ -1335,7 +1335,7 @@ mapde-conic: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - tissue_type: + tissue_type: - colon architecture: class: mapde.MapDe @@ -1393,7 +1393,7 @@ sccnn-conic: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - tissue_type: + tissue_type: - colon architecture: class: sccnn.SCCNN @@ -1423,7 +1423,7 @@ nuclick_original-pannuke: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - tissue_type: + tissue_type: - agnostic - liver - prostate @@ -1456,7 +1456,7 @@ nuclick_light-pannuke: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: - tissue_type: + tissue_type: - agnostic - liver - prostate @@ -1494,7 +1494,7 @@ grandqc_tissue_detection: catalog: description: > Segmentation model for masking background from tissue regions - tissue_type: + tissue_type: - agnostic architecture: class: grandqc.GrandQCModel @@ -1522,7 +1522,7 @@ KongNet_CoNIC_1: catalog: description: > Nuclei detection model for neutrophils, epithelial, lymphocytes, plasma, eosinophil, and connective nuclei in colorectal cancer. - tissue_type: + tissue_type: - colon architecture: class: kongnet.KongNet @@ -1559,7 +1559,7 @@ KongNet_PanNuke_1: catalog: description: > Nucleus detection model for connective, neoplastic, epithelial, dead, and inflamatory nuclei across multiple cancers. - tissue_type: + tissue_type: - agnostic - liver - prostate @@ -1605,7 +1605,7 @@ KongNet_MONKEY_1: catalog: description: > Model for detecting lymphocytes, monocytes, and inflamatory nuclei in Kidney Biopsy images. - tissue_type: + tissue_type: - kidney architecture: class: kongnet.KongNet @@ -1639,7 +1639,7 @@ KongNet_PUMA_T1_3: catalog: description: > Nuclei detection model for detecting Tumor and Lymphocyte nuclei in melanoma and metastatic melanoma. - tissue_type: + tissue_type: - skin - bone - lung @@ -1680,7 +1680,7 @@ KongNet_PUMA_T2_3: catalog: description: > Nuclei Detection model for detecting tumor, lymphocytes, plasma, histiocyte, melanophage, neutrophil, stroma, epithelium, endothelium, and apoptotic nuclei in melanoma and metastatic melanoma - tissue_type: + tissue_type: - skin - bone - lung @@ -1728,7 +1728,7 @@ KongNet_Det_MIDOG_1: catalog: description: > Nuclei detection model for mitotic figure detection across different cancer types. - tissue_type: + tissue_type: - agnostic - breast - lung @@ -1765,7 +1765,7 @@ efficientunet-tissue_mask: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: Segmentation model for tissue regions in images across cancer types. - tissue_type: + tissue_type: - agnostic architecture: class: efficientunet_tissue_mask_model.EfficientUNetTissueMaskModel From 9a5f35716dda10ce93054bad638bef3f08662f8f Mon Sep 17 00:00:00 2001 From: Aakash Rao Date: Fri, 6 Nov 2026 12:52:55 +0000 Subject: [PATCH 10/13] Added missing descriptions and tissue types for remaining models --- tiatoolbox/data/pretrained_model.yaml | 116 ++++++++++---------------- 1 file changed, 42 insertions(+), 74 deletions(-) diff --git a/tiatoolbox/data/pretrained_model.yaml b/tiatoolbox/data/pretrained_model.yaml index 9fd0793f4..6e6e41cb2 100644 --- a/tiatoolbox/data/pretrained_model.yaml +++ b/tiatoolbox/data/pretrained_model.yaml @@ -893,8 +893,10 @@ googlenet-pcam: resnet18-idars-tumour: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: > + Patch level prediction of tumor versus non-tumor/viable epithelium status in colon histology. tissue_type: + - colon architecture: class: idars.IDaRS kwargs: @@ -909,8 +911,10 @@ resnet18-idars-tumour: resnet34-idars-msi: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: > + Patch level prediction of Microsatellite Instability (MSI) status in colon histology. tissue_type: + - colon architecture: class: idars.IDaRS kwargs: @@ -925,8 +929,10 @@ resnet34-idars-msi: resnet34-idars-braf: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: > + Patch level prediction of BRAF gene mutation Status in colon histology. tissue_type: + - colon architecture: class: idars.IDaRS kwargs: @@ -941,8 +947,10 @@ resnet34-idars-braf: resnet34-idars-cimp: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: > + Patch level prediction of CpG island methylator phenotype in colon histology. tissue_type: + - colon architecture: class: idars.IDaRS kwargs: @@ -957,8 +965,10 @@ resnet34-idars-cimp: resnet34-idars-cin: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: > + Patch level prediction of chromosomal instability in colon histology. tissue_type: + - colon architecture: class: idars.IDaRS kwargs: @@ -973,8 +983,10 @@ resnet34-idars-cin: resnet34-idars-tp53: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: > + Patch level prediction of TP53 tumor suppressor gene mutation status in colon histology. tissue_type: + - colon architecture: class: idars.IDaRS kwargs: @@ -989,8 +1001,10 @@ resnet34-idars-tp53: resnet34-idars-hm: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: > + Patch level prediction of Hypermutated status in colon histology. tissue_type: + - colon architecture: class: idars.IDaRS kwargs: @@ -1007,7 +1021,8 @@ resnet34-idars-hm: fcn-tissue_mask: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: Segmentation of tissue regions across different cancer types + description: > + Segmentation of tissue regions across different cancer types tissue_type: - agnostic architecture: @@ -1033,7 +1048,8 @@ fcn-tissue_mask: fcn_resnet50_unet-bcss: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: Segments tumor, stroma, necrosi, and inflamatory regions in breast cancer images + description: > + Segments tumor, stroma, necrosi, and inflamatory regions in breast cancer images tissue_type: - breast architecture: @@ -1091,16 +1107,6 @@ hovernet_fast-pannuke: Instance Segmentation and detection of Neoplastic, Inflammatory, Connective, Dead, and Non-Neoplastic Epithelial nuclei across different cancer types. tissue_type: - agnostic - - liver - - prostate - - kidney - - breast - - stomach - - colon - - bladder - - brain - - head and neck - - lung architecture: class: hovernet.HoVerNet kwargs: @@ -1138,10 +1144,6 @@ hovernet_fast-monusac: Instance Segmentation and detection of Epithelial, Lymphocyte, Macrophage, and Neutrophil nuclei across different cancer types. tissue_type: - agnostic - - breast - - kidney - - lung - - prostate architecture: class: hovernet.HoVerNet kwargs: @@ -1209,16 +1211,10 @@ hovernet_original-consep: hovernet_original-kumar: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: Instance Segmentation and detection of Epithelial, Inflammatory, and Spindle-Shaped nuclei across different cancer types. + description: > + Instance Segmentation and detection of Epithelial, Inflammatory, and Spindle-Shaped nuclei across different cancer types. tissue_type: - agnostic - - liver - - prostate - - kidney - - breast - - stomach - - colon - - bladder architecture: class: hovernet.HoVerNet kwargs: @@ -1280,7 +1276,8 @@ hovernetplus-oed: micronet-consep: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: > + Multi-resolution instance segmentation and phenotype classification of Epithelial, Inflammatory, Spindle-Shaped, and Miscellaneous nuclei in colon histology. tissue_type: - colon architecture: @@ -1305,8 +1302,10 @@ micronet-consep: mapde-crchisto: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: > + Nucleus detection model for colon histology. tissue_type: + - colon architecture: class: mapde.MapDe kwargs: @@ -1334,7 +1333,8 @@ mapde-crchisto: mapde-conic: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: > + Nucleus detection model for Epithelial, Lymphocyte, Plasma, Eosinophil, Neutrophil, and Connective tissue nuclei in colon histology. tissue_type: - colon architecture: @@ -1363,8 +1363,10 @@ mapde-conic: sccnn-crchisto: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: > + Nucleus detection model for colon histology. tissue_type: + - colon architecture: class: sccnn.SCCNN kwargs: @@ -1392,7 +1394,8 @@ sccnn-crchisto: sccnn-conic: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: + description: > + Nucleus detection model for colon histology. tissue_type: - colon architecture: @@ -1425,16 +1428,6 @@ nuclick_original-pannuke: description: tissue_type: - agnostic - - liver - - prostate - - kidney - - breast - - stomach - - colon - - bladder - - brain - - head and neck - - lung architecture: class: nuclick.NuClick kwargs: @@ -1458,16 +1451,6 @@ nuclick_light-pannuke: description: tissue_type: - agnostic - - liver - - prostate - - kidney - - breast - - stomach - - colon - - bladder - - brain - - head and neck - - lung architecture: class: unet.UNetModel kwargs: @@ -1521,7 +1504,7 @@ KongNet_CoNIC_1: hf_repo_id: TIACentre/KongNet_pretrained_weights catalog: description: > - Nuclei detection model for neutrophils, epithelial, lymphocytes, plasma, eosinophil, and connective nuclei in colorectal cancer. + Nuclei detection model for neutrophils, epithelial, lymphocytes, plasma, eosinophil, and connective nuclei in colon histology. tissue_type: - colon architecture: @@ -1561,16 +1544,6 @@ KongNet_PanNuke_1: Nucleus detection model for connective, neoplastic, epithelial, dead, and inflamatory nuclei across multiple cancers. tissue_type: - agnostic - - liver - - prostate - - kidney - - breast - - stomach - - colon - - bladder - - brain - - head and neck - - lung architecture: class: kongnet.KongNet kwargs: @@ -1730,12 +1703,6 @@ KongNet_Det_MIDOG_1: Nuclei detection model for mitotic figure detection across different cancer types. tissue_type: - agnostic - - breast - - lung - - lymph node - - neuroendocrine - - skin - - subcutaneous tissue architecture: class: kongnet.KongNet kwargs: @@ -1764,7 +1731,8 @@ KongNet_Det_MIDOG_1: efficientunet-tissue_mask: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: - description: Segmentation model for tissue regions in images across cancer types. + description: > + Segmentation model for tissue regions in images across cancer types. tissue_type: - agnostic architecture: From 61a2ca655a17d42f9cd1fb90a1adb7390e222ad6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 6 Nov 2026 12:55:37 +0000 Subject: [PATCH 11/13] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tiatoolbox/data/pretrained_model.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tiatoolbox/data/pretrained_model.yaml b/tiatoolbox/data/pretrained_model.yaml index ed798b183..b4440531e 100644 --- a/tiatoolbox/data/pretrained_model.yaml +++ b/tiatoolbox/data/pretrained_model.yaml @@ -1002,9 +1002,9 @@ resnet34-idars-hm: hf_repo_id: TIACentre/TIAToolbox_pretrained_weights catalog: description: > - Patch level prediction of Hypermutated status in colon histology. + Patch level prediction of Hypermutated status in colon histology. tissue_type: - - colon + - colon architecture: class: idars.IDaRS kwargs: @@ -1023,7 +1023,7 @@ fcn-tissue_mask: catalog: description: > Segmentation of tissue regions across different cancer types - tissue_type: + tissue_type: - agnostic architecture: class: unet.UNetModel @@ -1050,7 +1050,7 @@ fcn_resnet50_unet-bcss: catalog: description: > Segments tumor, stroma, necrosi, and inflamatory regions in breast cancer images - tissue_type: + tissue_type: - breast architecture: class: unet.UNetModel @@ -1213,7 +1213,7 @@ hovernet_original-kumar: catalog: description: > Instance Segmentation and detection of Epithelial, Inflammatory, and Spindle-Shaped nuclei across different cancer types. - tissue_type: + tissue_type: - agnostic architecture: class: hovernet.HoVerNet @@ -1278,7 +1278,7 @@ micronet-consep: catalog: description: > Multi-resolution instance segmentation and phenotype classification of Epithelial, Inflammatory, Spindle-Shaped, and Miscellaneous nuclei in colon histology. - tissue_type: + tissue_type: - colon architecture: class: micronet.MicroNet @@ -1335,7 +1335,7 @@ mapde-conic: catalog: description: > Nucleus detection model for Epithelial, Lymphocyte, Plasma, Eosinophil, Neutrophil, and Connective tissue nuclei in colon histology. - tissue_type: + tissue_type: - colon architecture: class: mapde.MapDe @@ -1396,7 +1396,7 @@ sccnn-conic: catalog: description: > Nucleus detection model for colon histology. - tissue_type: + tissue_type: - colon architecture: class: sccnn.SCCNN @@ -1505,7 +1505,7 @@ KongNet_CoNIC_1: catalog: description: > Nuclei detection model for neutrophils, epithelial, lymphocytes, plasma, eosinophil, and connective nuclei in colon histology. - tissue_type: + tissue_type: - colon architecture: class: kongnet.KongNet @@ -1733,7 +1733,7 @@ efficientunet-tissue_mask: catalog: description: > Segmentation model for tissue regions in images across cancer types. - tissue_type: + tissue_type: - agnostic architecture: class: efficientunet_tissue_mask_model.EfficientUNetTissueMaskModel From e0929ec777f4d834444dd10ba3eca3cf196aa09d Mon Sep 17 00:00:00 2001 From: Aakash Rao Date: Fri, 6 Nov 2026 14:44:33 +0000 Subject: [PATCH 12/13] added class dict and ignore index to efficientnet --- tiatoolbox/data/pretrained_model.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tiatoolbox/data/pretrained_model.yaml b/tiatoolbox/data/pretrained_model.yaml index b4440531e..c55c8667a 100644 --- a/tiatoolbox/data/pretrained_model.yaml +++ b/tiatoolbox/data/pretrained_model.yaml @@ -1059,6 +1059,13 @@ fcn_resnet50_unet-bcss: num_output_channels: 5 encoder: "resnet50" decoder_block: [3, 3] + class_dict: { + 0: "Tumour", + 1: "Stroma", + 2: "Inflamatory", + 3: "Necrosis", + 4: "Others" + } ioconfig: class: io_config.IOSegmentorConfig kwargs: @@ -1740,6 +1747,10 @@ efficientunet-tissue_mask: kwargs: num_classes: 1 threshold: 0.95 + class_dict: { + 0: "Background", + 1: "Tissue", + } ioconfig: class: io_config.IOSegmentorConfig kwargs: @@ -1751,3 +1762,4 @@ efficientunet-tissue_mask: patch_output_shape: [512, 512] stride_shape: [480, 480] save_resolution: {'units': 'mpp', 'resolution': 8.0} + ignore_index: 0 \ No newline at end of file From 8cc9ef28afe4fbced7708ea5d0f98992a633e4fe Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 6 Nov 2026 14:45:19 +0000 Subject: [PATCH 13/13] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tiatoolbox/data/pretrained_model.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tiatoolbox/data/pretrained_model.yaml b/tiatoolbox/data/pretrained_model.yaml index c55c8667a..84d2dd56d 100644 --- a/tiatoolbox/data/pretrained_model.yaml +++ b/tiatoolbox/data/pretrained_model.yaml @@ -1060,10 +1060,10 @@ fcn_resnet50_unet-bcss: encoder: "resnet50" decoder_block: [3, 3] class_dict: { - 0: "Tumour", - 1: "Stroma", - 2: "Inflamatory", - 3: "Necrosis", + 0: "Tumour", + 1: "Stroma", + 2: "Inflamatory", + 3: "Necrosis", 4: "Others" } ioconfig: @@ -1762,4 +1762,4 @@ efficientunet-tissue_mask: patch_output_shape: [512, 512] stride_shape: [480, 480] save_resolution: {'units': 'mpp', 'resolution': 8.0} - ignore_index: 0 \ No newline at end of file + ignore_index: 0