Skip to content

RaphaelVicini/nnUNet_MedSeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

389 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nnUNet_MedSeg Overview

Welcome to the nnUNet_MedSeg repository. This Toolkit facilitates the user-friendly deployment of the nnUNetv2 model.

Table of Contents

  1. Purpose of the Toolkit
  2. Let's Get Started! 🌟
  3. Go the Extra Mile! 🚀
  4. Scripts explaination

Purpose of the Toolkit

This script simplifies the implementation of the nnUNetv2 model designed for biomedical image segmentation. Its primary goal is to assist users in utilizing the model without diving into its underlying implementation details. To get started, users need to organize their dataset according to specified folder naming conventions and place it into the designated input folders of the script.

Toolkit Workflow

The Toolkit comprises 3 main components:

  1. Training Files: Set up your dataset by copying it into Input_nnUNet_train and then execute exe_train.py to obtain the output file.
  2. Prediction Files: After training, users can perform predictions. Copy a test dataset into Input_nnUNet_predict to generate prediction images.
  3. Transfer Learning Files: To fine-tune a model with new data. "
  4. Docker Image: Contains essential software that the script relies upon, including Pytorch version 2.0.0, CUDA version 11.8, and the nnUNet model.

Docker Image Directory

This directory contains a Docker image designed to consolidate the necessary software tools for this script. Once loaded onto the user's system, it streamlines the entire process.

Training Directory

The training directory houses various subfolders essential for the seamless execution of the nnUNet. The structure is visualized in the provided image. Users should mainly interact with Input_nnUNet_train, exe_train.py, and its output counterpart. It's pivotal to copy datasets into Input_nnUNet_train, as the script will format the data for the nnUNet.

Prediction Directory

The prediction directory mirrors the training one. Users should place a copy of his test picture in Input_nnUNet_predict. Once exe_predict.py is run, the resultant predicted image will be in Output_nnUNet_predict. The model folder is where the users have to copy the model located in the output of the training folder.

Transfer Leaerning Directory

The Transfer Leaerning directory mirrors other directories. Users should place their new dataset1 in input_transferLearning to fine-tune an existing model. Like in the prediction directory, the model folder is where the users have to copy the model located in the output of the training folder.

Important Note ⚠️

Please be aware that in every mentioned directory, all data will be completly deleted. Only the files in the output sections of each directory will be retained.

Let's Get Started! 🌟

Go the Extra Mile! 🚀

Scripts

In the main_nnUNet folder, you will find various scripts that are set to be executed.

Detailed explanations for each script can be found in the following folders:


If you employ nnU-Net in your work, kindly reference the associated paper:

Isensee, F., Jaeger, P. F., Kohl, S. A., Petersen, J., & Maier-Hein, K. H. (2021). nnU-Net: a self-configuring 
method for deep learning-based biomedical image segmentation. Nature methods, 18(2), 203-211.

Footnotes

  1. The new dataset must include the same images as the original model, supplemented with completely new data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors