You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/TencentARC/MM-RealSR.git
cd MM-RealSR
Install dependent packages
# Install basicsr - https://github.com/xinntao/BasicSR# We use BasicSR for both training and inference
pip install basicsr
# facexlib and gfpgan are for face enhancement
pip install facexlib
pip install gfpgan
pip install -r requirements.txt
python setup.py develop
python inference_mmrealsr.py -opt (path to .yml file) --im_path (path to LR images) --model_path (path to checkpoint) --res_path (path to save SR images)
python Metric/LPIPS.py --folder_gt (path to HR images) --folder_restored (path to SR images)
python Metric/NIQE.py --folder_restored (path to SR images)
python Metric/DISTS.py --folder_gt (path to HR images) --folder_restored (path to SR images)
Results are in the results folder
Video Demo
Quick start can be found in Colab Demo for MM-RealSR .
python inference_mmrealsr_demo.py -opt (path to .yml file) --model_path (path to checkpoint) --im_path (path to LR image)
The visual results of noise and blur modulation:
BibTeX
@InProceedings{mou2022mmrealsr,
author = {Chong Mou and Yanze Wu and Xintao Wang and Chao Dong and Jian Zhang and Ying Shan},
title = { Metric Learning based Interactive Modulation for Real-World Super-Resolution},
booktitle = {European Conference on Computer Vision (ECCV)},
date = {2022}
}
📧 Contact
If you have any question, please email eechongm@gmail.com.