Git Product home page Git Product logo

frankkramer-lab / aucmedi Goto Github PK

View Code? Open in Web Editor NEW
34.0 3.0 9.0 39.43 MB

a framework for Automated Classification of Medical Images

Home Page: https://frankkramer-lab.github.io/aucmedi/

License: GNU General Public License v3.0

Python 99.78% Dockerfile 0.22%
automl clinical-decision-support computer-vision deep-learning docker framework healthcare-imaging medical-image-analysis medical-image-classification pip

aucmedi's People

Contributors

muellerdo avatar sassy-nazogram avatar sherlockmones avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aucmedi's Issues

Make AUCMEDI 3D avaible

  • Update subfunction resize, padding & cropping 3d able (check shape in subfunction)
  • Check if subfunction standardize can transform volumes
  • Clean up architectures via 2D / 3D
  • Add 3D architectures
  • Add numpy loader for volumes/images
  • Add npy to accepted formats
  • Parameter in DataGenerator to pass loader() with default to image_loader()
  • Add 3D augmentation volumenations (can we just switch ai module depending on 2D/3D?)
  • Modify ensembler.augmenting function
  • Add 3D unittesting for ensembler.augmenting
  • Add volume support in unittesting
  • Rework DataGenerator to allow better image preparation for large 3D volumes

XAI shouldn't be able to run on 3D :/

Add sampling functions

For binary, multi-class and multi-label

Normal train,test split
Cross-Validation split

Inference Augmentation: Techniques

Method:

  • Init Img Augmentation
  • Load testing data
  • Modify x_test by multiplying each index by N (indicies should be in order -> [a, a, a, b, b, b, c, c, c ...] for N=3)
  • Provide to DataGenerator with ImgAugmentation
  • Run prediction
  • Ensemble inference

Configuration

  • Yaml file with configs
  • Runner: main.py
  • Run modi: Training, Inference, Complete/FullAnalysis

Neural Network load model

Delete last model before overwriting when loading a new model

Problem: Tensorflow caches various model variables which can lead to OOM when switching multiple times between different models.

Solution: clear session when loading a new model.
tf.keras.backend.clear_session()

Note for me: clear_session probably not working when using multiple model variables!!!

Note for Ensemble Learning: Delete models at the end to avoid this issue

cv2 error in google colab?

Das war die Fehlermeldung, die ich bekommen habe, welche ich dann mit dem deinstallieren und neu installieren von opencv_python gelöst habe:

---------------------------------------------------------------------------

ImportError                               Traceback (most recent call last)

<ipython-input-12-8cde4f83d73a> in <module>()
----> 1 from aucmedi.data_processing import io_data
      2 dataset_loader = io_data.input_interface("directory", path_imagedir="/content/Tuberculosis_Classification", path_data=None, training=True, ohe=False)

11 frames

/usr/local/lib/python3.7/dist-packages/cv2/__init__.py in <module>()
      7
      8 from .cv2 import *
----> 9 from .cv2 import _registerMatType
     10 from . import mat_wrapper
     11 from . import gapi

ImportError: cannot import name '_registerMatType' from 'cv2.cv2' (/usr/local/lib/python3.7/dist-packages/cv2/cv2.cpython-37m-x86_64-linux-gnu.so)


---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below. 

AutoML Implementation

  • Implementation of Pipeline Block: Training
  • Implementation of Pipeline Block: Inference
  • Implementation of Pipeline Block: Evaluation
  • Implementation of Pipeline Block: XAI
  • Try it out on a dataset
  • Implementation of CLI base
  • Implementation of Pipeline Block Integration in CLI
  • Unittesting for everyone
  • Dockerization
  • Packaging as binary for PyPI
  • Make an example
  • Documentation

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.