Coder Social home page Coder Social logo

fouriernet's Introduction

Fourier Convolutions

This repository contains official PyTorch code for implementing Fourier convolutions and FourierNets/FourierUNets from the paper: FourierNets enable the design of highly non-local optical encoders for computational imaging.

Figure 1 from the paper showing our FourierNet/FourierUNet architectures Figure 2 from the paper showing how FourierNet succeeds at optimizing microscopes Figure 4 from the paper showing how FourierNet beats state of the art reconstruction algorithms for computational photography

We include PyTorch and JAX implementations of

  • Fourier convolutions and multiscale Fourier convolutions
  • FourierNets and FourierUNets

What is not included:

  • Scripts to recreate experiments from the paper. If you want to reproduce those experiments, you can obtain training/testing code from TuragaLab/snapshotscope.
  • This repository does not contain the simulation code required to run the experiments. The simulation package can be obtained from TuragaLab/snapshotscope.
  • This repository does not include the data required to run the experiments. The data can be obtained from Figshare (coming soon).

Installation

There are two steps to installation, depending on whether you are interested in only the Fourier convolution implementations or also the simulation package required to run the experiment scripts. Either way, first make sure that you've installed PyTorch or Jax and its necessary dependencies for your device.

Installing Fourier convolutions/FourierNet/FourierUNet

We have tested fouriernet on Python 3.7 with PyTorch 1.7. Newer versions of PyTorch will remove the old FFT interface, and cause this software to fail.

To install only the Fourier convolution architectures contained in this package, you can simply:

pip install git+https://github.com/TuragaLab/fouriernet

Installing simulation library

We have tested snapshotscope on Python 3.7 with PyTorch 1.7. Newer versions of PyTorch will remove the old FFT interface, and cause this software to fail.

To install the simulation library (required for running the experiment scripts), you can run:

pip install git+https://github.com/TuragaLab/snapshotscope

fouriernet's People

Contributors

diptodip avatar

Stargazers

Jeff Rhoades avatar

Watchers

 avatar Srini Turaga avatar  avatar Kostas Georgiou 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.