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

[Feature] Support FLAVR Net #866

Merged
merged 6 commits into from
May 8, 2022
Merged

[Feature] Support FLAVR Net #866

merged 6 commits into from
May 8, 2022

Conversation

Yshuo-Li
Copy link
Collaborator

No description provided.


# Batch mean normalization works slightly better than global mean
# normalization, Refer to https://github.com/myungsub/CAIN
mean_ = images.mean(
Copy link
Member

@wangruohui wangruohui Apr 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image.mean(dim=(2,3,4), True)

@codecov
Copy link

codecov bot commented Apr 27, 2022

Codecov Report

Merging #866 (6d02a93) into master (a852622) will increase coverage by 0.13%.
The diff coverage is 90.79%.

@@            Coverage Diff             @@
##           master     #866      +/-   ##
==========================================
+ Coverage   83.12%   83.25%   +0.13%     
==========================================
  Files         220      222       +2     
  Lines       12453    12648     +195     
  Branches     2017     2049      +32     
==========================================
+ Hits        10351    10530     +179     
- Misses       1785     1794       +9     
- Partials      317      324       +7     
Flag Coverage Δ
unittests 83.21% <90.79%> (+0.13%) ⬆️

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

Impacted Files Coverage Δ
mmedit/models/backbones/vfi_backbones/flavr_net.py 90.62% <90.62%> (ø)
mmedit/models/backbones/__init__.py 100.00% <100.00%> (ø)
mmedit/models/backbones/vfi_backbones/__init__.py 100.00% <100.00%> (ø)
...edit/models/backbones/vfi_backbones/tof_vfi_net.py 94.18% <0.00%> (-4.66%) ⬇️
mmedit/core/evaluation/eval_hooks.py 61.53% <0.00%> (-0.63%) ⬇️
mmedit/datasets/__init__.py 100.00% <0.00%> (ø)
mmedit/datasets/vfi_vimeo90k_7frames_dataset.py 100.00% <0.00%> (ø)
mmedit/datasets/pipelines/augmentation.py 98.89% <0.00%> (+0.39%) ⬆️
mmedit/datasets/pipelines/formating.py 99.05% <0.00%> (+1.88%) ⬆️

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 a852622...6d02a93. Read the comment docs.

wangruohui
wangruohui previously approved these changes Apr 30, 2022
dx_out = self.decoder(xs)

out = self.feature_fuse(dx_out)
out = self.conv_last(out)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant we'd better add some comments here to indicate out's shape.


# prepare data
inputs = torch.rand(1, 4, 3, 256, 248)
target = torch.rand(1, 3, 256, 248)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

248 or 256?


UpConv3d(4, 4, 1, 1, 1)
conv3d = UpConv3d(4, 4, 1, 1, 1, up_mode='trilinear', batchnorm=True)
conv3d(inputs)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any assertion for line 42-46?

@wangruohui wangruohui self-requested a review May 5, 2022 11:02
@wangruohui wangruohui dismissed their stale review May 5, 2022 11:02

unresolved issues

@wangruohui wangruohui merged commit fa272ac into open-mmlab:master May 8, 2022
wangruohui pushed a commit to wangruohui/mmediting that referenced this pull request Jul 7, 2022
* [Feature] Support FLAVR Net

* Update

* Update

* Update

* Update

* Update
Yshuo-Li added a commit to Yshuo-Li/mmediting that referenced this pull request Jul 15, 2022
* [Feature] Support FLAVR Net

* Update

* Update

* Update

* Update

* Update
Yshuo-Li added a commit to Yshuo-Li/mmediting that referenced this pull request Jul 15, 2022
* [Feature] Support FLAVR Net

* Update

* Update

* Update

* Update

* Update
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.

None yet

2 participants