-
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 model: multilayer perceptrons. #226
Conversation
Codecov Report
@@ Coverage Diff @@
## master #226 +/- ##
==========================================
- Coverage 81.69% 81.49% -0.20%
==========================================
Files 149 150 +1
Lines 7102 7059 -43
Branches 1052 1056 +4
==========================================
- Hits 5802 5753 -49
- Misses 1179 1185 +6
Partials 121 121
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
logger = get_root_logger() | ||
load_checkpoint(self, pretrained, strict=strict, logger=logger) | ||
elif pretrained is None: | ||
pass |
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.
Why it is passed
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.
Because pretrained is None
means no pretrained model for MLP and there is no special parameter initialization method for MLP.
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.
Okay
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.
@nbei what do you think
On the locaiton of the file: is it a kind of |
I am not sure where should the file locate. |
* Add model: multilayer perceptrons. * Rename mlp, from 'MLP' to 'MLPRefiner.' Co-authored-by: 李尹硕 <SENSETIME\liyinshuo@cn0014004493l.domain.sensetime.com> Co-authored-by: liyinshuo <liyinshuo@sensetime.com>
Add multilayer perceptrons, which is the
imnet
model employed by LIIF.