YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co./docs/hub/model-cards#model-card-metadata)

Original github repo is here

If this repo works for you, please cite our paper

@article{luo2023end,
  title={End-to-end Alternating Optimization for Real-World Blind Super Resolution},
  author={Luo, Zhengxiong and Huang, Yan and Li, Shang and Wang, Liang and Tan, Tieniu},
  journal={International Journal of Computer Vision (IJCV)},
  year={2023}
}

This repo is buid on the basis of BasicSR

Model Weights

Download the checkpoints of RealDAN.

Put the downloaded checkpoints into checkpoints

Inference

For inference on Real-World images

cd codes/config/RealDAN
python3 inference.py \
--opt options/test/dan_edsr_gan_real.yml \
--input_dir=/dir/of/input/images \
--output_dir=/dir/of/saved/outputs

For inference on blurry images

cd codes/config/KernelDAN
python3 inference.py \
--opt options/test/x4.yml \
--input_dir=/dir/of/input/images \
--output_dir=/dir/of/saved/outputs

Evaluation

For evaluation on DIV2K-Real, please download the dataset to your own path, and run

cd codes/config/RealDAN
python3 test.py \
--opt options/test/dan_edsr_gan_syn.yml

and

cd codes/config/RealDAN
python3 test.py \
--opt options/test/dan_edsr_syn.yml

For evaluation on DIV2KRK, please download the dataset to your own path, and run

cd codes/config/KernelDAN
python3 test.py \
--opt options/test/x2.yml 

and

cd codes/config/KernelDAN
python3 test.py \
--opt options/test/x4.yml 
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The model has no library tag.