Skip to content

WladimirLct/Fionn_AI

Repository files navigation

Fionn AI Project

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.

image

System Requirements and Dependencies

Ensure you have the following dependencies installed:

  1. Java Environment Install the Java Development Kit (JDK) and Java Runtime Environment (JRE) using:

    sudo apt install default-jdk
    sudo apt install default-jre
  2. 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
  3. QuPath Download and install QuPath from the official releases page.

Python Setup

Creating a Python Environment

Create and activate a new Conda environment:

conda create -n FionnAI python=3.10
conda activate FionnAI

Installing Required Libraries

Install the following Python libraries:

  1. Numpy - For numerical operations:

    pip install numpy
  2. PyTorch and Torchvision - For deep learning:

    pip install torch==1.13.1 torchvision==0.14.1 --index-url https://download.pytorch.org/whl/cu117
  3. 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.

  4. Project Requirements - Install all other required packages:

    pip install -r requirements.txt
  5. 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.

Running Fionn AI

To run the Fionn AI application, follow these steps:

  1. Open your terminal and navigate to the root directory of the repository.

  2. Ensure the MESCnn module is discoverable by setting the Python path:

    export PYTHONPATH=.
  3. Execute the main.py script to start the application:

    python main.py

Team and Presentation

Team Composition

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

Supervision & collaboration

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.

Project Presentation

A presentation detailing the project and its significant performance enhancements is available here (in French).

Sources

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •