This repository reproduces Pytorch implementation of "Stereo Magnification: Learning View Synthesis using Multiplane Images"
The code is based on authors' Tensorflow implementation here and reproduce implementation here. Thanks for sharing the codes.
example images with the original tensorflow weight, which I have converted to PyTorch state dicts.
- Download real-estate-10k-dataset.
- Set your dataset path like this:
$/real-estate-10k
├──── Training_set
│ ├──── train
│ └──── test
- Run python downloadAndProcess.py (youtube-dl needed).
Run the following command to train Stereo Magnification:
python train.py
Run the following command to evaluate Stereo Magnification:
python test.py
Run the following command to make MPIs viewer:
python demo.py