Code Monkey home page Code Monkey logo

ml4medws2023's Introduction

ML4MedWS2023

Project for ML4Med in WS 2023

If you encounter any errors, problems or have suggestions, please feel free to improve this read me.

Get Started

Change data path

look for "data_dir = r'C:\Users\Nicolai\PycharmProjects\ML4MedWS2023\Data\ConvertedPelvisNiftiDataset\Converted Pelvis Nifti Dataset'"

Run Code

if the vanilla training runs, try out your self different parameters and models and so on. For that please copy "Code/MONAI/your_custom_training.py" and rename it and then customize it.

Data

Original Dataset

https://universe.roboflow.com/ks-fsm9o/pelvis-ap-x-ray/dataset/2

Nifti source by Niklas Koser

https://cloud.rz.uni-kiel.de/index.php/s/WRM33znRQjLcMZo

the data ist not included in this repository, because it is too large. but you can automatically download it by running "Code/GetData/GetData.py" in "Code/GetData"

MONAI

Tutorial Source

https://github.com/Project-MONAI/tutorials/blob/main/3d_segmentation/spleen_segmentation_3d.ipynb

Python Environment

by venv in PyCharm

  1. Open Project in PyCharm
  2. Open Settings -> Project -> Python Interpreter
  3. Add new Python Interpreter img.png
  4. Select "Add Local Interpreter"
  5. Select "New environment using Virtualenv"
  6. Select a Python Version (e.g. 3.11) img_1.png
  7. Now you have a clean new Python Environment for a specific Python version
  8. Install all required packages via 'pip install -q "monai-weekly[gdown, nibabel, tqdm, ignite]"' and 'pip install -q matplotlib SimpleITK pandas scipy'

via Dockerfile

docker build -t ml4med:latest .

docker run --gpus device=1 -v /home/sukin699/code/ML4MedWS2023/Data/ConvertedPelvisNiftiDataset:/code/ML4MedWS2023/Data/ConvertedPelvisNiftiDataset -i -t ml4med:latest bash

ml4medws2023's People

Contributors

krekiehn avatar hbendig-hsfl avatar

Watchers

 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.