-
Notifications
You must be signed in to change notification settings - Fork 30
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
Remove hardcoded channels_last in efficientnet_v2 #672
Remove hardcoded channels_last in efficientnet_v2 #672
Conversation
…ackend data format
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! The code looks good. Please add a unit test.
I added channels first tests to applications_test and fixed two more issues that were found from running those tests |
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
Hi @Inquisitive-ME , Thanks for the PR, but please reformat the code using Thanks, |
Imported from GitHub PR #672 Replace hard-coded channels_last in efficientnet_v2 with the backend data format Copybara import of the project: -- 214fc39 by Richard Swanson <rswanson05@gmail.com>: Remove hardcoded channels_last in efficientnet_v2 and replace with backend data format -- c52e562 by Richard Swanson <rswanson05@gmail.com>: Add channels first testing for applications_test and cleanup testing script -- faa997d by Richard Swanson <rswanson05@gmail.com>: Fix failing channels first tests for efficientnet and mobilenet_v3 -- cf9f492 by Richard Swanson <rswanson05@gmail.com>: Fix code formatting Merging this change closes #672 FUTURE_COPYBARA_INTEGRATE_REVIEW=#672 from Inquisitive-ME:fix-efficientnet_v2-channels-first cf9f492 PiperOrigin-RevId: 580748697
Imported from GitHub PR #672 Replace hard-coded channels_last in efficientnet_v2 with the backend data format Copybara import of the project: -- 214fc39 by Richard Swanson <rswanson05@gmail.com>: Remove hardcoded channels_last in efficientnet_v2 and replace with backend data format -- c52e562 by Richard Swanson <rswanson05@gmail.com>: Add channels first testing for applications_test and cleanup testing script -- faa997d by Richard Swanson <rswanson05@gmail.com>: Fix failing channels first tests for efficientnet and mobilenet_v3 -- cf9f492 by Richard Swanson <rswanson05@gmail.com>: Fix code formatting Merging this change closes #672 FUTURE_COPYBARA_INTEGRATE_REVIEW=#672 from Inquisitive-ME:fix-efficientnet_v2-channels-first cf9f492 PiperOrigin-RevId: 580748697
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.
Sorry for the delay. This was not merged because the tests are failing. See my comments in the code.
Thanks!
Imported from GitHub PR #672 Replace hard-coded channels_last in efficientnet_v2 with the backend data format Copybara import of the project: -- 214fc39 by Richard Swanson <rswanson05@gmail.com>: Remove hardcoded channels_last in efficientnet_v2 and replace with backend data format -- c52e562 by Richard Swanson <rswanson05@gmail.com>: Add channels first testing for applications_test and cleanup testing script -- faa997d by Richard Swanson <rswanson05@gmail.com>: Fix failing channels first tests for efficientnet and mobilenet_v3 -- cf9f492 by Richard Swanson <rswanson05@gmail.com>: Fix code formatting -- 6840eb4 by Richard Swanson <rswanson05@gmail.com>: Fix applications_test setup and teardown Merging this change closes #672 FUTURE_COPYBARA_INTEGRATE_REVIEW=#672 from Inquisitive-ME:fix-efficientnet_v2-channels-first 6840eb4 PiperOrigin-RevId: 587025448
Replace hard-coded channels_last in efficientnet_v2 with the backend data format Imported from GitHub PR tensorflow/tensorflow#672 Copybara import of the project: - 214fc39 Remove hardcoded channels_last in efficientnet_v2 and re... by Richard Swanson <rswanson05@gmail.com> - c52e562 Add channels first testing for applications_test and clea... by Richard Swanson <rswanson05@gmail.com> - faa997d Fix failing channels first tests for efficientnet and mob... by Richard Swanson <rswanson05@gmail.com> - cf9f492 Fix code formatting by Richard Swanson <rswanson05@gmail.com> - 6840eb4 Fix applications_test setup and teardown by Richard Swanson <rswanson05@gmail.com> - 3e7f605 Merge 6840eb4 into 5359b... by Inquisitive-ME <rswanson05@gmail.com> FUTURE_COPYBARA_INTEGRATE_REVIEW=#672 from Inquisitive-ME:fix-efficientnet_v2-channels-first 6840eb4 PiperOrigin-RevId: 592035715
Replace hard-coded channels_last in efficientnet_v2 with the backend data format