← 开源
Mukosame

Zooming-Slow-Mo-CVPR-2020

Fast and Accurate One-Stage Space-Time Video Super-Resolution (accepted in CVPR 2020)

Model DevelopmentArchitecturePython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
930
Star
163
Fork
+0
本周
7
贡献者
创建于 2020-02-25 · 更新于 2026-10-05 · 今日第 12566 名
主要开发者
Mukosamejmspiewakxjcai1124-cmyk

Mukosame/Zooming-Slow-Mo-CVPR-2020 排名第 12,566,有 930 个星标。

同类别比较

Mukosame/Zooming-Slow-Mo-CVPR-2020 排名第 12,566,此处有 8 个同类条目;microsoft/SoftTeacher 排名第 12,571。

同类别比较
名称排名指标
benedekrozemberczki/graph2vec12,541
语言:
Python
星标数:
934
分叉数:
165
简介:
A parallel implementation of "graph2vec: Learning Distributed Representations of Graphs" (MLGWorkshop 2017).
eric-yyjau/pytorch-superpoint12,544
语言:
Jupyter Notebook
星标数:
934
分叉数:
194
简介:
Superpoint Implemented in PyTorch: https://arxiv.org/abs/1712.07629
dusty-nv/jetson-reinforcement12,546
语言:
C++
星标数:
933
分叉数:
224
简介:
Deep reinforcement learning GPU libraries for NVIDIA Jetson TX1/TX2 with PyTorch, OpenAI Gym, and Gazebo robotics simulator.
rusty1s/pytorch_cluster12,551
语言:
C++
星标数:
933
分叉数:
164
简介:
PyTorch Extension Library of Optimized Graph Cluster Algorithms
microsoft/SoftTeacher12,571
语言:
Python
星标数:
930
分叉数:
123
简介:
Semi-Supervised Learning, Object Detection, ICCV2021
openai/random-network-distillation12,573
语言:
Python
星标数:
930
分叉数:
166
简介:
Code for the paper "Exploration by Random Network Distillation"
SciML/DiffEqFlux.jl12,577
语言:
Julia
星标数:
929
分叉数:
162
简介:
Pre-built implicit layer architectures with O(1) backprop, GPUs, and stiff+non-stiff DE solvers, demonstrating scientific machine learning (SciML) and physics-informed machine learning methods
YyzHarry/imbalanced-regression12,578
语言:
Python
星标数:
929
分叉数:
149
简介:
[ICML 2021, Long Talk] Delving into Deep Imbalanced Regression
关键参数与规格
关键参数与规格
参数值
语言Python
类别Model Development
子类别Architecture
关键词Video production
星标数930
分叉数163
贡献者7
创建日期2020-02-25
更新日期2026-10-05
1 天星标数0
7 天星标数0
排名12,566
上次排名12,486
排名变化-80
7 天星标排名13,489
上次 7 天星标排名13,499
7 天星标排名变化10
总星标排名11,770
上次总星标排名11,757
总星标排名变化-13
国家USA
README 摘录

Zooming-Slow-Mo (CVPR-2020) By Xiaoyu Xiang \* , Yapeng Tian \* , Yulun Zhang, Yun Fu, Jan P. Allebach + , Chenliang Xu + ( \* equal contributions, + equal advising) This is the official Pytorch implementation of _Zooming Slow-Mo: Fast and Accurate One-Stage Space-Time Video Super-Resolution_. Paper | Journal Version | Demo (YouTube) | 1-min teaser (YouTube) | 1-min teaser (Bilibili) Updates 2020. 13 Add meta-info of datasets used in this paper 2020. 11 Add new function: video converter 2020. 10: Upload the complete

code and pretrained models Contents 0. Get Started Installation Training Testing Colab Notebook 3. Acknowledgments Introduction The repository contains the entire project (including all the preprocessing) for one-stage space-time video super-resolution with Zooming Slow-Mo. Zooming Slow-Mo is a recently proposed joint video frame interpolation (VFI) and video super-resolution (VSR) method, which directly synthesizes an HR slow-motion video from an LFR, LR video. It is going to be published in CVPR 2020. The most

up-to-date paper with supplementary materials can be found at arXiv. In Zooming Slow-Mo, we firstly temporally interpolate features of the missing LR frame by the proposed feature temporal interpolation network. Then, we propose a deformable ConvLSTM to align and aggregate temporal information simultaneously. Finally, a deep reconstruction network is adopted to predict HR slow-motion video frames. If our proposed architectures also help your research, please consider citing our paper. Zooming Slow-Mo achieves state-of-the

-art performance by PSNR and SSIM in Vid4, Vimeo test sets. Prerequisites Python 3 (Recommend to use Anaconda) PyTorch >= 1. 1 NVIDIA GPU + CUDA Deformable Convolution v2, we adopt CharlesShang's implementation in the submodule. Python packages: Get Started Installation Install the required packages: First, make sure your machine has a GPU, which is required for the DCNv2 module. We'll call the directory that you cloned Zooming Slow-Mo as ZOOMING_ROOT. Compile the DCNv2: Please make sure the test script

finishes successfully without any errors before running the following experiments. Download the original training + test set of (82 GB). Split the into a training set and a test set, make sure you change the dataset's path to your download path in script, also you need to run for the training set and test set separately: This will create and folders in the directory of ** **. You can either do this via MATLAB or Python (remember to configure the input and output

path): 4. Create the LMDB files for faster I/O speed. Note that you need to configure your input and output path in the following script: The structure of generated lmdb folder is as follows: Part 2: Train **Note:** In this part, we assume you are in the directory ** ** 1. Configure your training settings that can be found at options/train. Our training settings in the paper can be found at train_zsm. We'll take this setting as an example

to illustrate the following steps. After training, your model and its training states, and a corresponding log file are placed

常见问题

记录了多少星标和分叉?

Mukosame/Zooming-Slow-Mo-CVPR-2020 有 930 个星标和 163 个分叉。

仓库排名是多少?

Mukosame/Zooming-Slow-Mo-CVPR-2020 排名第 12,566。

记录的语言和类别是什么?

Mukosame/Zooming-Slow-Mo-CVPR-2020 有 930 个星标,语言为 Python,类别为 Model Development。

哪个仓库排名最接近?

Mukosame/Zooming-Slow-Mo-CVPR-2020 与 microsoft/SoftTeacher 比较,后者排名第 12,571,有 930 个星标。

README

Zooming-Slow-Mo (CVPR-2020)

By Xiaoyu Xiang*, Yapeng Tian*, Yulun Zhang, Yun Fu, Jan P. Allebach+, Chenliang Xu+ (* equal contributions, + equal advising)

This is the official Pytorch implementation of Zooming Slow-Mo: Fast and Accurate One-Stage Space-Time Video Super-Resolution.

Paper | Journal Version | Demo (YouTube) | 1-min teaser (YouTube) | 1-min teaser (Bilibili)

Input    

Output

  [![Demo GIF](dump/demo720.gif) 
    ](https://youtu.be/8mgD8JxBOus)

Updates

  • 2020.3.13 Add meta-info of datasets used in this paper
  • 2020.3.11 Add new function: video converter
  • 2020.3.10: Upload the complete code and pretrained models

Contents

  1. Introduction
  2. Prerequisites
  3. Get Started
  4. Citations
  5. Contact
  6. License
  7. Acknowledgments

Introduction

The repository contains the entire project (including all the preprocessing) for one-stage space-time video super-resolution with Zooming Slow-Mo.

Zooming Slow-Mo is a recently proposed joint video frame interpolation (VFI) and video super-resolution (VSR) method, which directly synthesizes an HR slow-motion video from an LFR, LR video. It is going to be published in CVPR 2020. The most up-to-date paper with supplementary materials can be found at arXiv.

In Zooming Slow-Mo, we firstly temporally interpolate features of the missing LR frame by the proposed feature temporal interpolation network. Then, we propose a deformable ConvLSTM to align and aggregate temporal information simultaneously. Finally, a deep reconstruction network is adopted to predict HR slow-motion video frames. If our proposed architectures also help your research, please consider citing our paper.

Zooming Slow-Mo achieves state-of-the-art performance by PSNR and SSIM in Vid4, Vimeo test sets.

Prerequisites

Get Started

Installation

Install the required packages: pip install -r requirements.txt

First, make sure your machine has a GPU, which is required for the DCNv2 module.

  1. Clone the Zooming Slow-Mo repository. We'll call the directory that you cloned Zooming Slow-Mo as ZOOMING_ROOT.
git clone --recursive https://github.com/Mukosame/Zooming-Slow-Mo-CVPR-2020.git
  1. Compile the DCNv2:
cd $ZOOMING_ROOT/codes/models/modules/DCNv2
bash make.sh         # build
python test.py    # run examples and gradient check

Please make sure the test script finishes successfully without any errors before running the following experiments.

Training

Part 1: Data Preparation

  1. Download the original training + test set of Vimeo-septuplet (82 GB).
wget http://data.csail.mit.edu/tofu/dataset/vimeo_septuplet.zip
apt-get install unzip
unzip vimeo_septuplet.zip
  1. Split the Vimeo-septuplet into a training set and a test set, make sure you change the dataset's path to your download path in script, also you need to run for the training set and test set separately:
cd $ZOOMING_ROOT/codes/data_scripts/sep_vimeo_list.py

This will create train and test folders in the directory of vimeo_septuplet/sequences. The folder structure is as follows:

vimeo_septuplet
├── sequences
    ├── 00001
        ├── 0266
            ├── im1.png
            ├── ...
            ├── im7.png
        ├── 0268...
    ├── 00002...
├── readme.txt
├──sep_trainlist.txt
├── sep_testlist.txt
  1. Generate low resolution (LR) images. You can either do this via MATLAB or Python (remember to configure the input and output path):
# In Matlab Command Window
run $ZOOMING_ROOT/codes/data_scripts/generate_LR_Vimeo90K.m
python $ZOOMING_ROOT/codes/data_scripts/generate_mod_LR_bic.py
  1. Create the LMDB files for faster I/O speed. Note that you need to configure your input and output path in the following script:
python $ZOOMING_ROOT/codes/data_scripts/create_lmdb_mp.py

The structure of generated lmdb folder is as follows:

Vimeo7_train.lmdb
├── data.mdb
├── lock.mdb
├── meta_info.txt

Part 2: Train

Note: In this part, we assume you are in the directory $ZOOMING_ROOT/codes/

  1. Configure your training settings that can be found at options/train. Our training settings in the paper can be found at train_zsm.yml. We'll take this setting as an example to illustrate the following steps.

  2. Train the Zooming Slow-Mo model.

python train.py -opt options/train/train_zsm.yml

After training, your model xxxx_G.pth and its training states, and a corresponding log file train_LunaTokis_scratch_b16p32f5b40n7l1_600k_Vimeo_xxxx.log are placed in the directory of $ZOOMING_ROOT/experiments/LunaTokis_scratch_b16p32f5b40n7l1_600k_Vimeo/.

Testing

We provide the test code for both standard test sets (Vid4, SPMC, etc.) and custom video frames.

Pretrained Models

Our pretrained model can be downloaded via GitHub or Google Drive.

From Video

If you have installed ffmpeg, you can convert any video to a high-resolution and high frame-rate video using video_to_zsm.py. The corresponding commands are:

cd $ZOOMING_ROOT/codes
python video_to_zsm.py --video PATH/TO/VIDEO.mp4 --model PATH/TO/PRETRAINED/MODEL.pth --output PATH/TO/OUTPUT.mp4

We also write the above commands to a Shell script, so you can directly run:

bash zsm_my_video.sh

From Extracted Frames

As a quick start, we also provide some example images in the test_example folder. You can test the model with the following commands:

cd $ZOOMING_ROOT/codes
python test.py
  • You can put your own test folders in the test_example too, or just change the input path, the number of frames, etc. in test.py.

  • Your custom test results will be saved to a folder here: $ZOOMING_ROOT/results/your_data_name/.

Evaluate on Standard Test Sets

The test.py script also provides modes for evaluation on the following test sets: Vid4, SPMC, etc. We evaluate PSNR and SSIM on the Y-channels in YCrCb color space. The commands are the same with the ones above. All you need to do is the change the data_mode and corresponding path of the standard test set.

Colab Notebook

PyTorch Colab notebook (provided by @HanClinto): HighResSlowMo.ipynb

Citations

If you find the code helpful in your resarch or work, please cite the following papers.

@misc{xiang2021zooming,
  title={Zooming SlowMo: An Efficient One-Stage Framework for Space-Time Video Super-Resolution},
  author={Xiang, Xiaoyu and Tian, Yapeng and Zhang, Yulun and Fu, Yun and Allebach, Jan P and Xu, Chenliang},
  archivePrefix={arXiv},
  eprint={2104.07473},
  year={2021},
  primaryClass={cs.CV}
}

@InProceedings{xiang2020zooming,
  author = {Xiang, Xiaoyu and Tian, Yapeng and Zhang, Yulun and Fu, Yun and Allebach, Jan P. and Xu, Chenliang},
  title = {Zooming Slow-Mo: Fast and Accurate One-Stage Space-Time Video Super-Resolution},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  pages={3370--3379},
  month = {June},
  year = {2020}
}

@InProceedings{tian2018tdan,
  author={Yapeng Tian, Yulun Zhang, Yun Fu, and Chenliang Xu},
  title={TDAN: Temporally Deformable Alignment Network for Video Super-Resolution},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  pages={3360--3369},
  month = {June},
  year = {2020}
}

@InProceedings{wang2019edvr,
  author    = {Wang, Xintao and Chan, Kelvin C.K. and Yu, Ke and Dong, Chao and Loy, Chen Change},
  title     = {EDVR: Video restoration with enhanced deformable convolutional networks},
  booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)},
  month     = {June},
  year      = {2019},
}

Contact

Xiaoyu Xiang and Yapeng Tian.

You can also leave your questions as issues in the repository. We will be glad to answer them.

License

This project is released under the GNU General Public License v3.0.

Acknowledgments

Our code is inspired by TDAN-VSR and EDVR.

排名相邻
同类项目