GithubHelp home page GithubHelp logo

nki-ai / direct Goto Github PK

View Code? Open in Web Editor NEW
226.0 7.0 40.0 32.91 MB

Deep learning framework for MRI reconstruction

Home Page: https://docs.aiforoncology.nl/direct

License: Apache License 2.0

Makefile 0.23% Python 98.94% Dockerfile 0.18% Cython 0.66%
pytorch deep-learning mri-reconstruction inverse-problems medical-imaging fastmri-challenge

direct's People

Contributors

deepsource-autofix[bot] avatar dependabot[bot] avatar georgeyiasemis avatar jonasteuwen avatar wdika 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  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  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  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

direct's Issues

Baselines for public datasets

Progress issue for implementing a RIM baseline for the FastMRI multicoil challenge. This does require coil sensitivity estimates, as the baseline RIM is too sensitivity if these are not provided. While these sensitivities can typically be measured, they are not provided in the FastMRI dataset.

Several ways to do this:

  • Estimate coils in the network
  • Estimate coils externally, e.g. with the bart toolkit.

Make loss and metrics configurable

Current loss and metrics are hardcoded in rim_engine.py, mainly because it is unclear what would be the proper way of using this: for instance, we might want to have L1 + alpha * SSIM loss, where alpha is configurable, and we would want both the L1 and SSIM loss logged.

Rework configuration system using hydra

Using hydra rather than OmegaConf will make composition of configurations much more convenient and allow easy access to a lot of hyperparameter search libraries such as Ax Sweeper, nevergrad, and several launcher systems.

For now, this is scheduled for version 1.0 as currently, the configuration system is reasonably stable. Adding more reconstruction algorithms and fixing the open issues is a priority for now.

Log beyond output images

Additional models are supported, but not logged, a generic method should be setup such that we can set:

tensorboard:
    log_images:
        - sensitivity_map

and these are subsequently logged to tensorboard (or anywhere).

Selection of the acceleration factor for evaluation

The accelerations argument should be parsed correctly to the build_masking_function

For now, the acc factor will be selected automatically from the cfg file and set to the first option used for validation.

Two ways to fix it:

  1. Load it from the cfg file in a proper way and remove the argument
  2. Parse the argument option and remove loading from the file

Crash at evaluating skips evaluation at resume

When the evaluation fails with an uncaught exception the resuming will happen after the exception, it would be more convenient and consistent if resuming would immediately trigger evaluation.

Extend reconstruction models beyond RIM

Goal of the library should be to also provide a reproducible baseline for the other MRI reconstruction models on public datasets. This should include, but is not limited to:

  • Learned Primal Dual
  • U-net postprocessing
  • VNet

cc @wdika: any additions?

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.