Giter Site home page Giter Site logo

ervsr's Introduction

WACV23: ERVSR

Efficient Reference-based Video Super-Resolution (ERVSR)

Framework Overview

framework

Results

quality

Minimal test

You can simply check the PSNR and visualized results of exemplary data without any set-ups via minimal_test.ipynb.

Setting

  1. Clone this repository
git clone https://github.com/haewonc/ERVSR.git
  1. Match the dependencies following RefVSR.
  2. Download the RealMCVSR dataset.
  3. Download the pretrained SPyNet and place inside the directory net/.

Test

You can reproduce the results in our paper with commands below. The testing with default configuration file should work on a machine with GPU memory larger than 6GB.

  1. Download our pretrained ERVSR model and place inside the directory results/saved_models/.
  2. Run test.
python test.py --model results/saved_models/final.pth --data_offset $DATA_DIRECTORY$ --save_img True --save_dir results/test_imgs

Train

You can train ERVSR model with the command below. The training with default configuration file should work on a machine with NVIDIA RTX TITAN (Memory: 24GB).

python train.py -b $BATCH_SIZE$ -data_offset $DATA_DIRECTORY$

ervsr's People

Contributors

haewonc avatar

Stargazers

 avatar Jinsu Lim avatar Zequn Li avatar Yaping Jiang avatar  avatar Xuejian Rong avatar Ye Dan avatar HOUGUO JI avatar  avatar  avatar  avatar Lei Pu avatar LiuZhuang avatar House_Lee avatar  avatar  avatar 冰淇淋和薯条 avatar An-zhi WANG avatar  avatar Junyong Lee avatar twittman avatar  avatar Zifan Cui avatar nasesm avatar

Watchers

 avatar  avatar

ervsr's Issues

Welcome update to OpenMMLab 2.0

Welcome update to OpenMMLab 2.0

I am Vansin, the technical operator of OpenMMLab. In September of last year, we announced the release of OpenMMLab 2.0 at the World Artificial Intelligence Conference in Shanghai. We invite you to upgrade your algorithm library to OpenMMLab 2.0 using MMEngine, which can be used for both research and commercial purposes. If you have any questions, please feel free to join us on the OpenMMLab Discord at https://discord.gg/A9dCpjHPfE or add me on WeChat (ID: van-sin) and I will invite you to the OpenMMLab WeChat group.

Here are the OpenMMLab 2.0 repos branches:

OpenMMLab 1.0 branch OpenMMLab 2.0 branch
MMEngine 0.x
MMCV 1.x 2.x
MMDetection 0.x 、1.x、2.x 3.x
MMAction2 0.x 1.x
MMClassification 0.x 1.x
MMSegmentation 0.x 1.x
MMDetection3D 0.x 1.x
MMEditing 0.x 1.x
MMPose 0.x 1.x
MMDeploy 0.x 1.x
MMTracking 0.x 1.x
MMOCR 0.x 1.x
MMRazor 0.x 1.x
MMSelfSup 0.x 1.x
MMRotate 0.x 1.x
MMYOLO 0.x

Attention: please create a new virtual environment for OpenMMLab 2.0.

Code error

attention calculation

attn = (q @ k.transpose(-2, -1)) * self.temperature

input LR is 64, Ref is 128,
So,the shape of q is torch.Size([2, 2, 32, 16384])
the shape of k.transpose(-2, -1) is torch.Size([2, 2, 4096, 32]),dimension mismatch results in an error.

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.