MCPcopy Index your code
hub / github.com/XJTU-CVLAB-LOWLEVEL/RNN-MBP

github.com/XJTU-CVLAB-LOWLEVEL/RNN-MBP @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
305 symbols 829 edges 36 files 33 documented · 11%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

RNN-MBP

Deep Recurrent Neural Network with Multi-scale Bi-directional Propagation for Video Deblurring (AAAI-2022)
by Chao Zhu, Hang Dong, Jinshan Pan, Boyang Liang, Yuhao Huang, Lean Fu, and Fei Wang

[Paper] [Supp]

Results

Results on GOPRO

image image

Results on DVD

image

Results on RBVD

image

Prerequisites

  • Python 3.6
  • PyTorch 1.8
  • opencv-python
  • scikit-image
  • lmdb
  • thop
  • tqdm
  • tensorboard

Real-world Bluryy Video Dataset (RBVD)

We have collected a new RBVD dataset with more scenes and perfect alignment, using the proposed Digital Video Acquisition System.

Training

Please download and unzip the dataset file for each benchmark.

Then, specify the \<path> (para.data_root) where you put the dataset file and the corresponding dataset configurations in the command (e.g. para.dataset=gopro or gopro_ds_lmdb).

The default training process requires at least 4 NVIDIA Tesla V100 32Gb GPUs.

The training command is shown below:

python main.py --data_root <path> --dataset gopro_ds_lmdb  --num_gpus 4 --batch_size 4  --patch_size [256, 256]  --end_epoch 500

Testing

Please download checkpoints and unzip it under the Source directory.

Example command to run a pre-trained model:

python test.py --data_root <path> --dataset gopro_ds_lmdb  --test_only --test_checkpoint <path>  --model RNN-MBP 

Citing

If you use any part of our code, or RNN-MBP and RBVD are useful for your research, please consider citing:

@inproceedings{chao2022,
  title={Deep Recurrent Neural Network with Multi-scale Bi-directional Propagation for Video Deblurring},
  author={Chao, Zhu and Hang, Dong and Jinshan, Pan and Boyang, Liang and Yuhao, Huang and Lean, Fu and Fei, Wang},
  booktitle={AAAI},
  year={2022},
}

Core symbols most depended-on inside this repo

update
called by 24
train/utils.py
normalize
called by 16
data/utils.py
register
called by 8
utils/logger.py
cupy_kernel
called by 5
model/correlation.py
cupy_launch
called by 5
model/correlation.py
normalize_reverse
called by 5
data/utils.py
loss_parse
called by 5
train/loss.py
report
called by 4
utils/logger.py

Shape

Method 178
Class 71
Function 56

Languages

Python100%

Modules by API surface

model/arches.py37 symbols
train/loss.py34 symbols
model/RNN-MBP.py26 symbols
model/flow_pwc.py19 symbols
model/attention.py17 symbols
data/utils.py17 symbols
utils/logger.py10 symbols
model/utils.py10 symbols
model/correlation.py10 symbols
model/basicvsr.py10 symbols
data/reds.py10 symbols
data/gopro.py10 symbols

For agents

$ claude mcp add RNN-MBP \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact