Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 920 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 920 Bytes

Pix2Pix in Pytorch

Minimalist Pix2Pix implementation in pytorch. Paper: https://arxiv.org/abs/1611.07004

The aim of this implementation is easy experimenting.

We followed the paper where possible and filled the blanks with the official implementation. The code may not be compatible with the paper 100%. Fixes and suggestions are welcome.

Usage

  1. Download cityscapes dataset and extract it.
  2. Run the script with python3 pix2pix.py cityscapes

That's it.

Notes

No augmentations implemented. Default direction is B to A because that's how cityscapes dataset is. You can change it in load_image function.

Here's an example output after 50 epochs. The output images are always from validation set.

sample