Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add demo for video super-resolution methods #275

Merged
merged 3 commits into from
May 20, 2021

Conversation

ckkelvinchan
Copy link
Member

Supports running inference on a given video. It supports both the sliding-window framework (e.g. EDVR) and the recurrent framework (e.g. BasicVSR). Example usage:

EDVR: python demo/restoration_video_demo.py ./configs/restorers/edvr/edvrm_wotsa_x4_g8_600k_reds.py https://download.openmmlab.com/mmediting/restorers/edvr/edvrm_wotsa_x4_8x4_600k_reds_20200522-0570e567.pth data/Vid4/BIx4/calendar/ ./output --window_size=5

BasicVSR: python demo/restoration_video_demo.py ./configs/restorers/basicvsr/basicvsr_reds4.py https://download.openmmlab.com/mmediting/restorers/basicvsr/basicvsr_reds4_20120409-0e599677.pth data/Vid4/BIx4/calendar/ ./output

@codecov
Copy link

codecov bot commented Apr 25, 2021

Codecov Report

Merging #275 (8b43ca8) into master (4c20a4a) will decrease coverage by 0.20%.
The diff coverage is 24.13%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #275      +/-   ##
==========================================
- Coverage   79.94%   79.73%   -0.21%     
==========================================
  Files         159      160       +1     
  Lines        7942     7971      +29     
  Branches     1177     1179       +2     
==========================================
+ Hits         6349     6356       +7     
- Misses       1449     1471      +22     
  Partials      144      144              
Flag Coverage Δ
unittests 79.73% <24.13%> (-0.21%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmedit/apis/restoration_video_inference.py 21.42% <21.42%> (ø)
mmedit/apis/__init__.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c20a4a...8b43ca8. Read the comment docs.

@ckkelvinchan ckkelvinchan added the status/WIP work in progress normally label Apr 29, 2021
@ckkelvinchan ckkelvinchan mentioned this pull request May 17, 2021
@nbei nbei requested a review from Yshuo-Li May 19, 2021 13:04
@ckkelvinchan ckkelvinchan removed the status/WIP work in progress normally label May 20, 2021
@innerlee innerlee merged commit 764e606 into open-mmlab:master May 20, 2021
@ckkelvinchan ckkelvinchan mentioned this pull request May 20, 2021
@ckkelvinchan ckkelvinchan deleted the demo branch May 21, 2021 09:50
Yshuo-Li pushed a commit to Yshuo-Li/mmediting that referenced this pull request Jul 15, 2022
* Add demo for video super-resolution methods

* Add video restoration to README

* Update demo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants