Được TopGit lập chỉ mục từ metadata GitHub: baowenbo/DAIN có 8.3k sao, viết chủ yếu bằng Python. Depth-Aware Video Frame Interpolation (CVPR 2019)
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Wenbo Bao,
Wei-Sheng Lai,
Chao Ma,
Xiaoyun Zhang,
Zhiyong Gao,
and Ming-Hsuan Yang
IEEE Conference on Computer Vision and Pattern Recognition, Long Beach, CVPR 2019
This work is developed based on our TPAMI work MEMC-Net, where we propose the adaptive warping layer. Please also consider referring to it.
Table of Contents
Introduction
Citation
Requirements and Dependencies
Installation
Testing Pre-trained Models
Downloading Results
Slow-motion Generation
Training New Models
Google Colab Demo
Introduction
We propose the Depth-Aware video frame INterpolation (DAIN) model to explicitly detect the occlusion by exploring the depth cue.
We develop a depth-aware flow projection layer to synthesize intermediate flows that preferably sample closer objects than farther ones.
Our method achieves state-of-the-art performance on the Middlebury dataset.
We provide videos here.
Citation
If you find the code and datasets useful in your research, please cite:
@inproceedings{DAIN,
author = {Bao, Wenbo and Lai, Wei-Sheng and Ma, Chao and Zhang, Xiaoyun and Gao, Zhiyong and Yang, Ming-Hsuan},
title = {Depth-Aware Video Frame Interpolation},
booktitle = {IEEE Conference on Computer Vision and Pattern Recognition},
year = {2019}
}
@article{MEMC-Net,
title={MEMC-Net: Motion Estimation and Motion Compensation Driven Neural Network for Video Interpolation and Enhancement},
author={Bao, Wenbo and Lai, Wei-Sheng, and Zhang, Xiaoyun and Gao, Zhiyong and Yang, Ming-Hsuan},
journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
doi={10.1109/TPAMI.2019.2941941},
year={2018}
}
Requirements and Dependencies
Ubuntu (We test with Ubuntu = 16.04.5 LTS)
Python (We test with Python = 3.6.8 in Anaconda3 = 4.1.1)
Cuda & Cudnn (We test with Cuda = 9.0 and Cudnn = 7.0)
PyTorch (The customized depth-aware flow projection and other layers require ATen API in PyTorch = 1.0.0)
NVIDIA GPU (We use Titan X (Pascal) with compute = 6.1, but we support compute_50/52/60/61 devices, should you have devices with higher compute capability, please revise this)
Installation
Download repository:
$ git clone https://github.com/baowenbo/DAIN.git
Before building Pytorch extensions, be sure you have pytorch >= 1.0.0:
The interpolated results are under MiddleBurySet/other-result-author/[random number]/, where the random number is used to distinguish different runnings.
Downloading Results
Our DAIN model achieves the state-of-the-art performance on the UCF101, Vimeo90K, and Middlebury (eval and other).
Download our interpolated results with:
Our model is fully capable of generating slow-motion effect with minor modification on the network architecture.
Run the following code by specifying time_step = 0.25 to generate x4 slow-motion effect:
Download the Vimeo90K triplet dataset for video frame interpolation task, also see here by Xue et al., IJCV19.
$ cd DAIN
$ mkdir /path/to/your/dataset & cd /path/to/your/dataset
$ wget http://data.csail.mit.edu/tofu/dataset/vimeo_triplet.zip
$ unzip vimeo_triplet.zip
$ rm vimeo_triplet.zip
Download the pretrained MegaDepth and PWCNet models
$ cd MegaDepth/checkpoints/test_local
$ wget http://vllab1.ucmerced.edu/~wenbobao/DAIN/best_generalization_net_G.pth
$ cd ../../../PWCNet
$ wget http://vllab1.ucmerced.edu/~wenbobao/DAIN/pwc_net.pth.tar
$ cd ..
The optimized models will be saved to the model_weights/[random number] directory, where [random number] is generated for different runs.
Replace the pre-trained model_weights/best.pth model with the newly trained model_weights/[random number]/best.pth model.
Then test the new model by executing:
This is a modification of DAIN that allows the usage of Google Colab and is able to do a full demo interpolation from a source video to a target video.
Original Notebook File by btahir can be found here.
To use the Colab, follow these steps:
Download the Colab_DAIN.ipynb file (link).
Visit Google Colaboratory (link)
Select the "Upload" option, and upload the .ipynb file
Start running the cells one by one, following the instructions.
baowenbo/DAIN có 8.3k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/baowenbo/DAIN. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
baowenbo/DAIN có phải mã nguồn mở không?
Có — baowenbo/DAIN phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/baowenbo/DAIN.
baowenbo/DAIN còn đang phát triển không?
Commit gần nhất trên baowenbo/DAIN là 3.8 năm trước (theo timestamp GitHub). Repo có 829 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
baowenbo/DAIN là gì?
baowenbo/DAIN (baowenbo/DAIN) là dự án Python trên GitHub. Theo mô tả gốc: Depth-Aware Video Frame Interpolation (CVPR 2019)
Đọc thêm về baowenbo/DAIN ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/baowenbo/DAIN là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc DAIN có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về DAIN.