All Projects → MortenHannemose → Pytorch Vfi Cft

MortenHannemose / Pytorch Vfi Cft

Licence: gpl-3.0
Generate slow-motion videos by interpolating more frames

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pytorch Vfi Cft

Food101 Coreml
A CoreML model which classifies images of food
Stars: ✭ 119 (-8.46%)
Mutual labels:  convolutional-neural-networks
Deepecg
ECG classification programs based on ML/DL methods
Stars: ✭ 124 (-4.62%)
Mutual labels:  convolutional-neural-networks
Deepco3
[CVPR19] DeepCO3: Deep Instance Co-segmentation by Co-peak Search and Co-saliency (Oral paper)
Stars: ✭ 127 (-2.31%)
Mutual labels:  convolutional-neural-networks
Context
ConText v4: Neural networks for text categorization
Stars: ✭ 120 (-7.69%)
Mutual labels:  convolutional-neural-networks
Lenet 5
PyTorch implementation of LeNet-5 with live visualization
Stars: ✭ 122 (-6.15%)
Mutual labels:  convolutional-neural-networks
Quiver
Interactive convnet features visualization for Keras
Stars: ✭ 1,619 (+1145.38%)
Mutual labels:  convolutional-neural-networks
Deepway
This project is an aid to the blind. Till date there has been no technological advancement in the way the blind navigate. So I have used deep learning particularly convolutional neural networks so that they can navigate through the streets.
Stars: ✭ 118 (-9.23%)
Mutual labels:  convolutional-neural-networks
Handwritten Digit Recognition Using Deep Learning
Handwritten Digit Recognition using Machine Learning and Deep Learning
Stars: ✭ 127 (-2.31%)
Mutual labels:  convolutional-neural-networks
Hyperdensenet
This repository contains the code of HyperDenseNet, a hyper-densely connected CNN to segment medical images in multi-modal image scenarios.
Stars: ✭ 124 (-4.62%)
Mutual labels:  convolutional-neural-networks
Pytorch convlstm
convolutional lstm implementation in pytorch
Stars: ✭ 126 (-3.08%)
Mutual labels:  convolutional-neural-networks
Keras transfer cifar10
Object classification with CIFAR-10 using transfer learning
Stars: ✭ 120 (-7.69%)
Mutual labels:  convolutional-neural-networks
Pytorch Dc Tts
Text to Speech with PyTorch (English and Mongolian)
Stars: ✭ 122 (-6.15%)
Mutual labels:  convolutional-neural-networks
Motionblur Detection By Cnn
Stars: ✭ 126 (-3.08%)
Mutual labels:  convolutional-neural-networks
Ti Pooling
TI-pooling: transformation-invariant pooling for feature learning in Convolutional Neural Networks
Stars: ✭ 119 (-8.46%)
Mutual labels:  convolutional-neural-networks
Rcnn Text Classification
Tensorflow Implementation of "Recurrent Convolutional Neural Network for Text Classification" (AAAI 2015)
Stars: ✭ 127 (-2.31%)
Mutual labels:  convolutional-neural-networks
Convncf
Experimental codes for paper "Outer Product-based Neural Collaborative Filtering".
Stars: ✭ 118 (-9.23%)
Mutual labels:  convolutional-neural-networks
Aaltd18
Data augmentation using synthetic data for time series classification with deep residual networks
Stars: ✭ 124 (-4.62%)
Mutual labels:  convolutional-neural-networks
Image Caption Generator
A neural network to generate captions for an image using CNN and RNN with BEAM Search.
Stars: ✭ 126 (-3.08%)
Mutual labels:  convolutional-neural-networks
Sparsenet
[ECCV 2018] Sparsely Aggreagated Convolutional Networks https://arxiv.org/abs/1801.05895
Stars: ✭ 127 (-2.31%)
Mutual labels:  convolutional-neural-networks
Jsnet
Javascript/WebAssembly deep learning library for MLPs and convolutional neural networks
Stars: ✭ 126 (-3.08%)
Mutual labels:  convolutional-neural-networks

pytorch-vfi-cft

Want to convert your video to slowmotion? Now you can!

gif showing an example result

This method generates extra frames, so you can convert an existing video to a higher framerate.

The method uses CNNs (convolutional neural networks), so we recommend running in on a GPU.


This is a reference implementation of Video Frame Interpolation via Cyclic Fine-Tuning and Asymmetric Reverse Flow.

If you use our work please cite the paper:

@inproceedings{hannemose2019video,
  title={Video Frame Interpolation via Cyclic Fine-Tuning and Asymmetric Reverse Flow},
  author={Hannemose, Morten and Jensen, Janus N{\o}rtoft and Einarsson, Gudmundur and Wilm, Jakob and Dahl, Anders Bjorholm and Frisvad, Jeppe Revall},
  booktitle={Scandinavian Conference on Image Analysis},
  pages={311--323},
  year={2019},
  organization={Springer}
}

Cyclic Fune-Tuning

For best results, you should enable cyclic fine-tuning, but this will also make the code run considerably slower. This is enabled by adding --cft true to the command line.

Comparison with other methods

gif showing a comparison of our method to others

Here is an example comparing our method against After Effects and sepconv.

You can download our results on the UCF101 dataset: UCF101_eval_vfi-cft.zip.

Usage

To convert a video to slowmotion use slow-movie.py

Example to convert rain.mp4 to 4x slowmotion:

python slow_movie.py -m rain.mp4 -f 4

This will output the movie as bmp files and put them in the folder slowed_movie_frames. The generated frames will automatically be converted to a video if you have ffmpeg installed. Instructions here.

Pretrained model

You can download our pretrained model from dtu.dk or google drive.

This file should be placed in the root of the repository.

Interpolation from two images

To interpolate the middle frame from only two frames, please see simple_example.py. This is also a good starting ground for modifying our code.

Requirements

The code is tested under:

  • Python 3.6
  • pytorch 1.1.0

It will most likely work with other versions, but we have not tested it.

Issues

This repository is actively maintained, so feel free to open an issue if you run into problems.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].