-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Replace reshape with flatten for mobilenetv2. #3462
Conversation
Current implementation is generating bad graph after onnx conversion. So replacing with flatten like in mobilenetv3 code.
Hi @jkparuchuri! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
Codecov Report
@@ Coverage Diff @@
## master #3462 +/- ##
=======================================
Coverage 76.11% 76.12%
=======================================
Files 105 105
Lines 9697 9699 +2
Branches 1556 1556
=======================================
+ Hits 7381 7383 +2
Misses 1836 1836
Partials 480 480
Continue to review full report at Codecov.
|
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.
LGTM, thanks for the PR!
Summary: Current implementation is generating bad graph after onnx conversion. So replacing with flatten like in mobilenetv3 code. Reviewed By: fmassa Differential Revision: D26756271 fbshipit-source-id: 68751201436147c179532b4d35e1140cb0f56967 Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
@jkparuchuri @datumbox I'm tagging this as a "fix" but please let me know (or amend) if something else (like "improvement"?) would be more relevant :) |
@NicolasHug sounds good to me! |
Current implementation is generating bad graph after onnx conversion. So replacing with flatten like in mobilenetv3 code.