MFG-CRT: Multi-Feature Guided Cross-Refinement Transformer for RGB-Guided Thermal Image Super-Resolution
MFG-CRT: Multi-Feature Guided Cross-Refinement Transformer for RGB-Guided Thermal Image Super-Resolution
Prerequisites for MFG-CRT.
AIR Research Framework is supported on Ubuntu 16.04 LTS or above.
It is recommended that use Python 3.7 or greater, which can be installed either through the Anaconda package manager or the Python website.
Recommended that use Pytorch 1.5.0 or above version. Important: EDVR or some models that have dependency on Deformable Convolution Networks feature only works in Pytorch 1.5.0a0+8f84ded.
At the first, pull docker container image. docker pull nvcr.io/nvidia/pytorch:20.03-py3
git clone https://github.com/DoGunKIM93/MFG-CRT.git
pip install fast_slic munch IQA_pytorch pillow fast_pytorch_kmeans
×16 Guided Thermal Image Super-Resolution Dataset
datasetPath: 'dataset directory path' (in Param.yaml)
MFG-CRT Pre-trained
pretrainedPath: 'Pre-trained directory path' (in Param.yaml)
At MFG-CRT folder, type following command:
python main.py
At MFG-CRT folder, type following command:
python main.py -it