Code Monkey home page Code Monkey logo

pvdd's Introduction

PVDD

This is an official implementation of the paper "Towards Real-World Video Denosing: A Practical Video Denosing Dataset and Network". [PDF]

Code

Dependencies

  • Python 3.6
  • PyTorch >= 1.1.0
  • numpy
  • cv2
  • skimage
  • DCNv2
  • easydict
  • yaml

Quick Start

Clone this github repo.

git clone https://github.com/Marinyyt/PVDD.git
cd PVDD

Training

  1. Download PVDD|CRVD|DAVIS dataset and unpack them to any place you want.
  2. Run train.py using the corresponding yaml files. (Please change the data_path argument in yaml files and noise-level file path in Dataset class.)
# PVDD sRGB 
python train.py --config /USER_PATH/PVDD/configs/PVDD_pvdd0815_02_charbo_bs1_pvdd_model.yaml --save_path /USER_SAVE_PATH
python train.py --config /USER_PATH/PVDD/configs/PVDD_pvdd0815_02_level_charbo_bs1_pvdd_model.yaml --save_path /USER_SAVE_PATH

# PVDD RAW
python train.py --config /USER_PATH/PVDD/configs/PVDD_pvdd0815_02_charbo_bs1_pvdd_raw_model.yaml --save_path /USER_SAVE_PATH
python train.py --config /USER_PATH/PVDD/configs/PVDD_pvdd0815_02_level_charbo_bs1_pvdd_raw_model.yaml --save_path /USER_SAVE_PATH

# CRVD sRGB
python train.py --config /USER_PATH/PVDD/configs/PVDD_pvdd0815_charbo_bs1_crvd_model.yaml --save_path /USER_SAVE_PATH

# DAVIS sRGB
python train.py --config /USER_PATH/PVDD/configs/PVDD_pvdd0815_charbo_bs1_davis_model.yaml --save_path /USER_SAVE_PATH
  1. You can find the results and logs in save_path.

Testing

  1. Download our pre-trained models and unpack them to any place you want or use your pre-trained models.
  2. Run.
# PVDD
python test_video_pvdd_server.py --model_file /USER_MODEL_CKPT_PATH --save_path /USER_SAVE_PATH --test_path /USER_TEST_DATA_PATH --num_frame 5
python test_video_pvdd_level_server.py --model_file /USER_MODEL_CKPT_PATH --save_path /USER_SAVE_PATH --test_path /USER_TEST_DATA_PATH --num_frame 5

python test_video_pvdd_raw_server.py --model_file /USER_MODEL_CKPT_PATH --save_path /USER_SAVE_PATH --test_path /USER_TEST_DATA_PATH --num_frame 5
python test_video_pvdd_level_raw_server.py --model_file /USER_MODEL_CKPT_PATH --save_path /USER_SAVE_PATH --test_path /USER_TEST_DATA_PATH --num_frame 5

# DAVIS
python test_video_davis_server.py --model_file /USER_MODEL_CKPT_PATH --save_path /USER_SAVE_PATH --test_path /USER_TEST_DATA_PATH --num_frame 5

# CRVD
python test_video_crvd_server.py --model_file /USER_MODEL_CKPT_PATH --save_path /USER_SAVE_PATH --test_path /USER_TEST_DATA_PATH --num_frame 5

pre-trained models

Google Drive | Baidu Drive

Dataset

Please download PVDD from Google Drive or Baidu Drive.

sRGB raw
Training Dataset Google Drive, Baidu Drive Google Drive, Baidu Drive
Testing Dataset Google Drive, Baiidu Drive Google Drive, Baidu Drive

Citation

If you find our work useful in your research or publication, please cite:

@article{xu2022pvdd,
  title={Pvdd: A practical video denoising dataset with real-world dynamic scenes},
  author={Xu, Xiaogang and Yu, Yitong and Jiang, Nianjuan and Lu, Jiangbo and Yu, Bei and Jia, Jiaya},
  journal={arXiv preprint arXiv:2207.01356},
  year={2022}
}

pvdd's People

Contributors

marinyyt avatar

Stargazers

T avatar linqiaozhou avatar Yanwei Liu avatar chuqianyu avatar  avatar Keyeh avatar  avatar

Watchers

Xiaogang Xu avatar  avatar

pvdd's Issues

Data missing

Hello, some images of your PVDD dataset are missing. Specifically, noisy_T129_frame130_7 and noisy_T130_frame230_12 in Raw Training Dataset;
Scene1,2,3,4,8,10,13 of Testing Dataset Static15. Could you please upload these missing data? Thanks a lot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.