This repo is the official code for the following papers:
Published on IEEE Transactions on Circuits and Systems for Video Technology in 2021. By MC2 Lab @ Beihang University.
Published on 16TH EUROPEAN CONFERENCE ON COMPUTER VISION in 2020. By MC2 Lab @ Beihang University.
| Compressed video (QP=42) | Ours |
|---|---|
![]() |
![]() |
| :-------------------------: | :-------------------------: |
![]() |
![]() |
pip install -r requirements.txt
BASICSR_EXT=True python setup.py develop
Generally, we directly read cropped images from folders. - Run data_process.py to extract frames from videos. - This repo should also support LMDB format for faster IO speed as BasicSR. Not tested yet.
The same as BasicSR, you can see here for details.
:star: MWGAN+ Train:
CUDA_VISIBLE_DEVICES=0 python basicsr/train.py -opt options/train/MWGAN/train_MWGAN_PSNR.ymlCUDA_VISIBLE_DEVICES=0 python basicsr/train.py -opt options/train/MWGAN/train_MWGAN_Percep.ymlCUDA_VISIBLE_DEVICES=0 python basicsr/train.py -opt options/train/MWGAN/train_MWGAN_Tradeoff.yml:star: MWGAN Train:
CUDA_VISIBLE_DEVICES=0 python basicsr/train.py -opt options/train/MWGAN/train_MWGAN_ECCV_PSNR.ymlCUDA_VISIBLE_DEVICES=0 python basicsr/train.py -opt options/train/MWGAN/train_MWGAN_ECCV_Percep.yml:star: Test:
CUDA_VISIBLE_DEVICES=0 python basicsr/test.py -opt options/test/MWGAN/test_MWGAN_Tradeoff.ymlHere the models we provide are trained on QP37 in RGB space.
:star: MWGAN+ Model:
:star: MWGAN Model:
This repo is built mainly based on BasicSR. Also borrowing codes from pacnet and MWCNN_PyTorch. We thank a lot for their contributions to the community.
If you find our paper or code useful for your research, please cite:
@inproceedings{wang2020multi,
title={Multi-level Wavelet-Based Generative Adversarial Network for Perceptual Quality Enhancement of Compressed Video},
author={Wang, Jianyi and Deng, Xin and Xu, Mai and Chen, Congyong and Song, Yuhang},
booktitle={European Conference on Computer Vision},
pages={405--421},
year={2020},
organization={Springer}
}
@ARTICLE{wang2021mwgan,
author={Wang, Jianyi and Xu, Mai and Deng, Xin and Shen, Liquan and Song, Yuhang},
journal={IEEE Transactions on Circuits and Systems for Video Technology},
title={MW-GAN+ for Perceptual Quality Enhancement on Compressed Video},
year={2021},
volume={},
number={},
pages={1-1},
doi={10.1109/TCSVT.2021.3128275}
}
$ claude mcp add MW-GAN \
-- python -m otcore.mcp_server <graph>