Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 557 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 557 Bytes

phase_retrieval_algorithms

Pytorch implementation of phase retrieval algorithms. Currently, Error reduction & Hybrid input-output algorithms are implemented.

Requirements

  • pytorch
  • torchvision
  • numpy
  • PIL
  • tqdm

Usage

python solve.py

Required argument

--algorithm         ER or HIO

--num_iterations    Number of iterations for each algorithm.

--num_repeats       Number of repeats for each sample.

--data_root         Data directory

--batch_size        Size of mini-batch

--gpu               Index for gpu device.