Coder Social home page Coder Social logo

mathimag / data_driven_convex_regularization Goto Github PK

View Code? Open in Web Editor NEW

This project forked from subhadip-1/data_driven_convex_regularization

0.0 0.0 0.0 46 KB

A PyTorch implementation of the data-driven convex regularization approach for inverse problems

License: MIT License

Python 100.00%

data_driven_convex_regularization's Introduction

data_driven_convex_regularization

This repo contains python scripts for implementating data-driven convex regularization for inverse problems (sparse-view CT reconstruction, in particular). For a detailed description of the algorithm and theoretical results, see: https://arxiv.org/abs/2008.02839.

If you use these scripts in your research, consider citing the paper:

@misc{mukherjee2021learned,
      title={Learned convex regularizers for inverse problems}, 
      author={Subhadip Mukherjee and Sören Dittmer and Zakhar Shumaylov and Sebastian Lunz and Ozan Öktem and Carola-Bibiane Schönlieb},
      year={2021},
      eprint={2008.02839},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

Steps to run the scripts:

  • The phantoms used in our CT experiments are available (as .npy files) here: https://drive.google.com/drive/folders/1SHN-yti3MgLmmW_l0agZRzMVtp0kx6dD?usp=sharing. Download the .zip file containing the phantoms, unzip, and put inside the cloned directory.
  • Create a conda environment with the required dependencies by conda env create -f environment.yml, and then activate it by conda activate env_deep_learning.
  • Run python simulate_projections_for_train_and_test.py to simulate the projection data and the FBP solutions.
  • Train a convex regularizer by python train_convex_reg.py.
  • Evaluate the model on test slices by running python eval_convex_reg.py.
  • If you want to test the model for a different acquisition geometry, appropriately modify the acquisition parameters in simulate_projections_for_train_and_test.py.

data_driven_convex_regularization's People

Contributors

subhadip-1 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.