Official PyTorch implementation of the paper "360 Image Reference-based Super-Resolution using Latitude Aware Convolution Learned from Synthetic to Real"
- Python 3.6
- PyTorch >= 1.0.0
- numpy
- h5py
- scipy
- cv2
- matplotlib
- tqdm
- tensorboardX
-
We used correlation package from PWC-Net. To install correlation package, please follow the instruction in PWC-Net
-
For LatConv,
- You can download pre-computed indices for LatConv in LatConv_Index.
- Place the files in './models/Index'.
- We will also provide generation code soon.
We used Synthetic360 dataset and Real360 dataset to train our model.
-
Before generating datasets, randomly rotate ERP images for data augmentation. Please refer to our codes in (https://github.com/iamheejae/360-Image-XYZ-Axis-Rotation).
-
Run generate_traindataset.py & generate_valdataset.py to prepare dataset. Each dataset is an hdf5 file, which contains '/HR_dataset' and '/LR_dataset'.
-
First, train using Synthetic360 dataset
./train.sh
-
Then, transfer Learning using Real360 dataset
./transfer_learning.sh