Repository navigation
Add mobilenet_v3 to slim_vision_model_test.py - #5650
Merged
Merged
Conversation
I looked into tfhub and they do have mobilenet_v3, adding the classification model here.
asaadaldien
force-pushed
the
ataei-mobile_net_v3_test
branch
from
April 28, 2021 00:05
e701d27 to
d6146d5
Compare
phoenix-meadowlark
left a comment
Contributor
There was a problem hiding this comment.
Glad support for this finally propagated. Please add the model to the BUILD file configuration as well.
Comment on lines
+59
to
+63
| def get_mode(model_name): | ||
| if model_name.startswith('mobilenet_v3'): | ||
| return 'classification/5' | ||
| # Classification mode; 4 - is a format of the model (SavedModel TF v2). | ||
| return 'classification/4' |
Contributor
There was a problem hiding this comment.
Suggested change
| def get_mode(model_name): | |
| if model_name.startswith('mobilenet_v3'): | |
| return 'classification/5' | |
| # Classification mode; 4 - is a format of the model (SavedModel TF v2). | |
| return 'classification/4' | |
| def get_mode(model_name): | |
| if model_name.startswith('mobilenet_v3'): | |
| return 'classification/5' | |
| # Classification mode; 4 - is a format of the model (SavedModel TF v2). | |
| return 'classification/4' | |
Add two empty lines between functions for yapf.
antiagainst
approved these changes
Apr 28, 2021
antiagainst
left a comment
Member
There was a problem hiding this comment.
Nice. Thanks Ahmed for adding this!
Contributor
Author
I didn't but CI doesn't seem to run this test! |
phoenix-meadowlark
approved these changes
Apr 28, 2021
Contributor
It doesn't in OSS (because the slim vision tests require external data), but it does run internally. Geoffrey was mentioning fixing this, but the keras applications version of MobileNetV3 does run on the OSS CI and should cover most failure cases. |
Co-authored-by: Phoenix Meadowlark <[email protected]>
simon-camp
pushed a commit
to simon-camp/iree
that referenced
this pull request
Apr 29, 2021
I looked into tfhub and they do have mobilenet_v3, adding the classification model here.
Merged
copybara-service Bot
pushed a commit
that referenced
this pull request
Apr 29, 2021
* 36522d9 Rotating instead of shifting to deal with overflow. (#5674) * e130e79 Merge pull request #5671 from ThomasRaoux/handle_vectorization * 011ffe0 Merge google -> main (#5663) * 6e16e38 Add vector transfer canonicalization patterns (#5664) * 95b3030 Add mobilenet_v3 to slim_vision_model_test.py (#5650) * 0c30c12 Fixing iree_cc_test android goo to use the proper executable name. (#5660) * cb54341 Adding initial executable benchmarking tool. (#5604) * 1de68ee Adding iree_task_executor_create_from_flags. (#5616) * db7f611 Merge pull request #5602 from google/benvanik-flags COPYBARA_INTEGRATE_REVIEW=#5673 from ThomasRaoux:main-to-google c08d5bd PiperOrigin-RevId: 371123718
iree-github-actions-bot
pushed a commit
that referenced
this pull request
Apr 29, 2021
* 36522d9 Rotating instead of shifting to deal with overflow. (#5674) * e130e79 Merge pull request #5671 from ThomasRaoux/handle_vectorization * 011ffe0 Merge google -> main (#5663) * 6e16e38 Add vector transfer canonicalization patterns (#5664) * 95b3030 Add mobilenet_v3 to slim_vision_model_test.py (#5650) * 0c30c12 Fixing iree_cc_test android goo to use the proper executable name. (#5660) * cb54341 Adding initial executable benchmarking tool. (#5604) * 1de68ee Adding iree_task_executor_create_from_flags. (#5616) * db7f611 Merge pull request #5602 from google/benvanik-flags PiperOrigin-RevId: 371123718
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I looked into tfhub and they do have mobilenet_v3, adding the classification model here.