- Matlab
- cuda and cudnn (For GPU. Please modify install.m if not using cudnn)
# Start MATLAB
$ matlab
>> install
Please first download the dataset from http://lightfields.stanford.edu/
>> train_Spatial_SR(scale, depth, gpu)
scale: needs to be 2, 3 or 4.
depth: the desired model depth (recommended 10).
gpu: 1 if using GPU, otherwise 0.
Please first download all images from the miscellenous class from http://lightfields.stanford.edu/
>> test_pretrained(model_scale, gpu)
model_scale: needs to be 2, 3 or 4.
gpu: 1 if using GPU, otherwise 0.
Henry W. F Yeung*, Junhui Hou*, XiaoMing Chen, Jie Chen, Zhibo Chen and Yuk Ying Chung
*Contributed equally to this paper.