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

[Features] Support stochastic degradations for RealBasicVSR #647

Merged
merged 3 commits into from
Dec 19, 2021

Conversation

ckkelvinchan
Copy link
Member

Motivation

Support Stochastic degradations for RealBasicVSR. The random degradations are slightly different for each image in a video sequence. The extent of differences is determined by the step_size.

Modification

Modify test_random_degradations.py

@codecov
Copy link

codecov bot commented Dec 8, 2021

Codecov Report

Merging #647 (ea54b3a) into master (4075d92) will increase coverage by 0.14%.
The diff coverage is 96.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #647      +/-   ##
==========================================
+ Coverage   80.41%   80.56%   +0.14%     
==========================================
  Files         198      198              
  Lines       11169    11272     +103     
  Branches     1780     1798      +18     
==========================================
+ Hits         8982     9081      +99     
- Misses       1913     1915       +2     
- Partials      274      276       +2     
Flag Coverage Δ
unittests 80.53% <96.92%> (+0.14%) ⬆️

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

Impacted Files Coverage Δ
mmedit/datasets/pipelines/random_degradations.py 94.68% <96.92%> (+0.78%) ⬆️
mmedit/datasets/pipelines/blur_kernels.py 83.08% <0.00%> (-1.48%) ⬇️
mmedit/datasets/pipelines/loading.py 96.01% <0.00%> (+0.75%) ⬆️

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 d609d86...ea54b3a. Read the comment docs.

@nbei nbei merged commit 5c5e298 into open-mmlab:master Dec 19, 2021
Yshuo-Li pushed a commit to Yshuo-Li/mmediting that referenced this pull request Jul 15, 2022
…ab#647)

* support stochastic degradations

* fix bug in RandomBlur

* Fix bug in _apply_random_poisson_noise
Yshuo-Li pushed a commit to Yshuo-Li/mmediting that referenced this pull request Jul 15, 2022
…ab#647)

* support stochastic degradations

* fix bug in RandomBlur

* Fix bug in _apply_random_poisson_noise
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