Giter VIP home page Giter VIP logo

brats2024_biomediambz's Introduction

BraTS2024_BioMedIAMBZ

How To Use

Installation

conda create -n brats python=3.8
pip install -r requirements.txt

Data Preprocessing

  1. Download the BraTS2023 Adult Glioma dataset and put it on the dataset/ folder, so it will contain the following:
├── dataset
│   ├── ASNR-MICCAI-BraTS2023-GLI-Challenge-TrainingData
│   ├── ASNR-MICCAI-BraTS2023-GLI-Challenge-ValidationData
│   ├── brats21_folds.json
│   ├── BraTS2023_2017_GLI_Mapping.xlsx
  1. Run preprocessing.py, but please check the source_directory and target_directory variables to make sure everything is correct.
conda activate brats-gli
python preprocessing.py 

Training

For training a MedNeXt model, you can run the following command (but you may need to configure your wandb account beforehand):

python mednext_train.py

5-Fold CV Dice & HD95

To calculate 5-fold CV Dice and HD95, we need to do two things;

  • get predictions from 5-fold (cv-get-predictions.py).
  • run post-processing and evaluation (cv-postprocessing-and-eval.py).
  • The idea of separating cv-get-predictions.py and cv-postprocessing-and-eval.py is to allow us to tune post-processing faster.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.