Giter VIP home page Giter VIP logo

dnf's Introduction

DNF

Pytorch implementation for paper ''DNF: Diffractive Neural Field for Lensless Microscopic Imaging''.

Pipeline

Setup

Dependencies:

  • python 3.7
  • pytorch 1.9.1
  • cuda 11.1
  • cudnn 8.0.5
  • pytorch-lightning 0.7.5
  • matplotlib 3.3.4

We provide a conda environment setup file including all of the above dependencies. Create the conda environment DNF by running:

conda create -n dnf python=3.7
pip install -r requirements.txt

Running code

  • simulation experiment
python train_simulation.py \
	--exp_name='exp_simulation'
  • simualtion & joint training
python train_simulation.py \ 
	--exp_name='exp_simulation_joint' \
	--joint_training
  • real-world data experiment
python train_real.py \
	--exp_name='exp_real'
  • real-world data & joint training
python train_real.py \
	--exp_name='exp_real_joint' \
	--joint_training

Results

Simulation results

Citation

Hao Zhu, Zhen Liu, You Zhou, Zhan Ma, and Xun Cao, "DNF: diffractive neural field for lensless microscopic imaging," Opt. Express 30, 18168-18178 (2022)

dnf's People

Contributors

liuzhen0212 avatar dependabot[bot] avatar

Stargazers

cshen avatar  avatar ypzhang avatar Fau1ks avatar Baobei Xu avatar Xu Chenyu avatar freemercury avatar  avatar delong_wu avatar  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.