Giter Site home page Giter Site logo

pix2pix-phaseretrieval's Introduction

PhaseRetrieval-MNIST

[Pytorch] Phase retrieval network based on Pix2Pix and Untrained Neural Network

Architecture

  • Pix2Pix

  • Untrained Neural Network

Result

  • run python run_predict.py

  • run python ./untrained/phase_retrieval.py

Train

  • Test Environment: Python 3.9, Pytorch 2.1, CUDA 11.8

  • Test Hardware: CPU i7-11800H, GPU Nvidia RTX 3060 Laptop, RAM DDR4 16G

  • For training with MNIST, just run python run_train.py in terminal. Results (generated_images, state_dict() , loss_curve) while training will be saved in ./result/*

  • For running with untrained method, run python ./untrained/phase_retrieval.py.

phase retrieval result during training

Data

MNIST and its autocorrelation generated by fn_generate_dataset.py

  • MNIST_autocorr_test.pt:

    shape:(1000, 1, 128, 128) type: float

  • MNIST_autocorr_train.pt:

    shape:(9000, 1, 128, 128) type: float

pix2pix-phaseretrieval's People

Contributors

coolsyn2000 avatar

Stargazers

 avatar

Watchers

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