Git Product home page Git Product logo

lion-abd-seg-3dunet's Introduction

Abdominal Multi-organ Segmentation via 3DUNet

Trained on LION data

Running Instructions

  1. Clone the repository
  2. Download the prerequisites from environment.yml
  3. From Releases
    • Download 3dunet_model_2_channel.pth.tar to '/TrainedModels/3DUNet_2_Channel'
  4. Copy the inference dataset into '/Custom_Datasets/<Your_Dataset_Name>'. This directory can have 2 filestructures

Structure 1

Your_Dataset_Name

Subjects_Dir

Subject_01

Subject_01_Fat_fused.nii.gz
Subject_01_Water_fused.nii.gz

...
Subject_ZZ

...

Structure 2

Your_Dataset_Name

Subjects_Dir

Subject_01

Subject_01_V1

Subject_01_V1_Fat_fused.nii.gz
Subject_01_V1_Water_fused.nii.gz

Subject_01_V2

...

...
Subject_ZZ

...

  1. Ensure that for each subject, the keywords denoting Fat, Water, T2* images remain identical.
  2. While using the appropriate args, run /Executables/predict_custom_input.py
    • --dataset_name: Enter the name of the dataset <Your_Dataset_Name>. By default, it is Dataset_Name
    • --fat_keyword: Enter the unique keyword for Fat maps. By default, it is Fat_fused
    • --water_keyword: Enter the unique keyword for Water maps. By default, it is Water_fused
    • --gpus GPU id. By default, it is set to 0
  3. The images will be resized to (256, 224, 72) for the 3DUNet into '/Custom_Datasets/<Your_Dataset_Name>/Interpolated_Subjects_Dir', and the corresponding segmentations into '/Custom_Datasets/<Your_Dataset_Name>/Predicted_Masks'

lion-abd-seg-3dunet's People

Contributors

minglein avatar

Stargazers

 avatar

Watchers

Max Diefenbach avatar Stefan avatar  avatar

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.