-
Notifications
You must be signed in to change notification settings - Fork 1k
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 LIIF. #227
Add LIIF. #227
Conversation
Codecov Report
@@ Coverage Diff @@
## master #227 +/- ##
==========================================
- Coverage 81.79% 81.41% -0.39%
==========================================
Files 152 153 +1
Lines 7223 7413 +190
Branches 1066 1088 +22
==========================================
+ Hits 5908 6035 +127
- Misses 1191 1247 +56
- Partials 124 131 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
I will take a look tonight :) |
There are some thing wrong with commits. |
mmedit/models/restorers/liif.py
Outdated
# loss | ||
self.pixel_loss = build_loss(pixel_loss) if pixel_loss else None | ||
|
||
self.step_counter = 0 # counting training steps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if the model is resumed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This parameter (step_counter
) is actually not used and has been deleted.
mmedit/models/restorers/liif.py
Outdated
Returns: | ||
dict: Returned output. | ||
""" | ||
# print(data_batch.keys()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove debuggin codes
* Add LIIF. * Add LIIF. * modify super init. * Add licence,optimize code. * remove debugging codes. * Modify __init__() function. * Modify test function of LIIF. Co-authored-by: 李尹硕 <SENSETIME\liyinshuo@cn0014004493l.domain.sensetime.com> Co-authored-by: liyinshuo <liyinshuo@sensetime.com>
Add LIIF model for single image super-resolution.
Paper: Learning Continuous Image Representation with Local Implicit Image Function
Ref repo: https://github.com/yinboc/liif.git