Skip to content

NabaviLab/IRM-GLAT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯ Prostate Cancer Grading using GLAT & IRM

This repository contains the implementation of a Graph Laplacian Attention-Based Transformer (GLAT) integrated with an Iterative Refinement Module (IRM) for prostate cancer grading from whole-slide images (WSIs).

πŸš€ Key Features

  • IRM (Iterative Refinement Module) for adaptive patch selection, ensuring only the most informative tissue regions are selected.
  • GLAT (Graph Laplacian Attention Transformer) enforces spatial coherence, preserving histological relationships.
  • Convex Aggregation generates a global WSI-level representation, optimizing feature importance.
  • State-of-the-art performance on five public and one private dataset.
  • Computationally efficient while maintaining high accuracy.

πŸ“‚ Project Structure



πŸ“Š Datasets

We evaluated the model on five public and one private (UConn Health) dataset:

Dataset WSIs Count Gleason Labels Notes
TCGA-PRAD 895 WSIs Gleason Grading Public dataset from TCGA
SICAPv2 182 WSIs Gleason Scores High-quality annotations
GLEASON19 331 TMAs Pixel-level Annotations Tissue Microarrays (TMAs)
PANDA 12,625 WSIs Primary & Secondary Gleason Grades Largest dataset used
DiagSet 430 WSIs Prostate Cancer Grading High-quality dataset
Private Dataset 79 WSIs Clinical-grade Annotations Internal dataset

πŸ›  Preprocessing

Patches are extracted using ([CLAM] (https://github.com/mahmoodlab/CLAM)) preprocessing pipeline:

  • Stain normalization: Reduces staining variability across WSIs.
  • Tissue segmentation: Removes irrelevant background regions.
  • Patch extraction: Extracts 224Γ—224 patches from WSIs.
  • Filtering: Excludes patches with minimal tissue content.

πŸ— Installation

To set up the environment, run:

cd ProstateCancerGrading
pip install -r requirements.txt

## πŸ›  **Train the Model**
Run the following command to start training and evaluation:
```bash
python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages