Skip to content

About WSIs Data Preparation #5

Description

@future97

Based on the tutorial "Tutorial-Processing WSIs for MIL" and its recommended parameters, I followed the workflow to extract patches and generate a MIL dataset using CLAM. Then, I used CTransPath to extract features. However, I noticed that the number of patches per sample in the ‘.pt’ files I generated is significantly higher than in the files you provided. Did you perform any sampling in your process? Additionally, could you please share the parameter settings you used during WSIs Data Preparation?

For example,
In my_data_dir:
slide_id: TCGA-3M-AB46-01Z-00-DX1.70F638A0-BDCB-4BDE-BBFE-6D78A1A08C5B wsi_bag.shape: torch.Size([18661, 768])
slide_id: TCGA-3M-AB47-01Z-00-DX1.D7D70922-A91F-4798-8D6E-DFD84D145A59 wsi_bag.shape: torch.Size([18106, 768])
slide_id: TCGA-B7-5816-01Z-00-DX1.1B05F96A-D5E2-4366-A098-A861313F3461 wsi_bag.shape: torch.Size([7944, 768])
slide_id: TCGA-BR-6452-01Z-00-DX1.aec8246e-9dce-436d-9faa-df8fa1f6e47c wsi_bag.shape: torch.Size([15916, 768])
slide_id: TCGA-BR-6453-01Z-00-DX1.2e52d64c-e34f-47a9-9e5e-8954b5ef18ca wsi_bag.shape: torch.Size([12366, 768])
In PIBD_data_dir:
slide_id: TCGA-3M-AB46-01Z-00-DX1.70F638A0-BDCB-4BDE-BBFE-6D78A1A08C5B wsi_bag.shape: torch.Size([4798, 768])
slide_id: TCGA-3M-AB47-01Z-00-DX1.D7D70922-A91F-4798-8D6E-DFD84D145A59 wsi_bag.shape: torch.Size([4570, 768])
slide_id: TCGA-B7-5816-01Z-00-DX1.1B05F96A-D5E2-4366-A098-A861313F3461 wsi_bag.shape: torch.Size([2045, 768])
slide_id: TCGA-BR-6452-01Z-00-DX1.aec8246e-9dce-436d-9faa-df8fa1f6e47c wsi_bag.shape: torch.Size([4027, 768])
slide_id: TCGA-BR-6453-01Z-00-DX1.2e52d64c-e34f-47a9-9e5e-8954b5ef18ca wsi_bag.shape: torch.Size([3131, 768])

For Segmenting-and-Patching-Slides, the parameter setting:
QQ图片20240817113545

For Extracting-Patch-Features, the parameter setting:
QQ图片20240817113817

I look forward to your reply and greatly appreciate your assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions