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 name
to MobileNetV3 to allow multiple instances in one model
#19695
Add name
to MobileNetV3 to allow multiple instances in one model
#19695
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #19695 +/- ##
==========================================
+ Coverage 78.52% 81.47% +2.95%
==========================================
Files 498 498
Lines 45699 45769 +70
Branches 8446 8456 +10
==========================================
+ Hits 35884 37292 +1408
+ Misses 8087 6578 -1509
- Partials 1728 1899 +171
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
32e4816
to
b44ade6
Compare
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.
Thanks for the PR!
Here's my change: 2b7120b Please apply the same for MobileNet models 👍 |
b44ade6
to
b0f4708
Compare
b0f4708
to
14caa78
Compare
name
to MobileNetV3 to allow multiple instances in one model
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, thank you! Can you do the same for MobileNetV2 and V1?
Followup from keras-team#19695 and 2b7120b.
Sent #19712 for V1 and V2. |
Followup from keras-team#19695 and 2b7120b.
Fixes #19689
I opted to add a
name
arg to fix the issue since it's a similar pattern in otherkeras.applications
models (updated: see conversation below). An alternative way is to usekeras.src.utils.naming.uniquify
internally.