Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jeongsol-kim/phase_retrieval_algorithms

Pytorch implementation for Error Reduction algorithm and Hybrid input-output algorithm.
https://github.com/jeongsol-kim/phase_retrieval_algorithms

er hio phase-retrieval

Last synced: about 1 month ago
JSON representation

Pytorch implementation for Error Reduction algorithm and Hybrid input-output algorithm.

Awesome Lists containing this project

README

        

# 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.
```