This README contains the instructions required for configuring and operating the Fionn AI platform. Fionn AI is designed for WSI (Whole Slide Image) Oxford scoring, featuring a user-friendly and intuitive interface. The platform aims to substantially reduce the diagnosis time for IgA Nephropathy by enabling doctors with minimal AI and machine learning experience to utilize advanced diagnostic tools. Key functionalities include scoring of entire slide images and classification of individual glomeruli. Additionally, doctors can access a history of analyzed WSIs and view detailed results on the platform.
Ensure you have the following dependencies installed:
-
Java Environment Install the Java Development Kit (JDK) and Java Runtime Environment (JRE) using:
sudo apt install default-jdk sudo apt install default-jre
-
Openslide Install Openslide, a C library that provides a simple interface to read whole-slide images (also known as virtual slides):
sudo apt-get install openslide-tools
-
QuPath Download and install QuPath from the official releases page.
Create and activate a new Conda environment:
conda create -n FionnAI python=3.10
conda activate FionnAI
Install the following Python libraries:
-
Numpy - For numerical operations:
pip install numpy
-
PyTorch and Torchvision - For deep learning:
pip install torch==1.13.1 torchvision==0.14.1 --index-url https://download.pytorch.org/whl/cu117
-
Detectron2 - For glomeruli detection:
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
Note: Ensure that
nvcc
is uninstalled before this step to avoid version conflicts. -
Project Requirements - Install all other required packages:
pip install -r requirements.txt
-
Paquo - Modify the configuration:
Update the
.paquo.toml
file to include your QuPath directory path. Ensure it points to the entire QuPath directory, not just the executable.
To run the Fionn AI application, follow these steps:
-
Open your terminal and navigate to the root directory of the repository.
-
Ensure the
MESCnn
module is discoverable by setting the Python path:export PYTHONPATH=.
-
Execute the
main.py
script to start the application:python main.py
Our team consists of six students pursuing a Master's degree in Big Data at ISEN Lille:
- Wladimir L
- Antoine M
- Théo H
- Aymane L
- Clément C
- Guillaume C
The project was guided by:
- Dr. Feryal Windal, Professor
- Bilel Guetarni, PhD. student
We received data (Unlabelled and labelled WSIs) from Dr. Jean-Baptiste Gibier, CHU Lille.
A presentation detailing the project and its significant performance enhancements is available here (in French).
This project is developed on the foundations provided by the MESCnn GitHub repository. Our project is designed to assist doctors, who may not have expertise in AI or machine learning, in deriving Oxford scores from their Whole Slide Images (WSIs). Additionally, our repository significantly enhances the processing speed of WSIs, achieving a performance improvement of approximately 5 to 10 times faster than base MESCnn by taking advantage of multiprocessing and intelligent filtering of non-informative tiles.