-
Notifications
You must be signed in to change notification settings - Fork 19.5k
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
Fix ConvNeXt classifier activation bug #17544
Fix ConvNeXt classifier activation bug #17544
Conversation
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.
Can you also add a unit test for this?
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.
Please also fix the format.
Should be fine now. |
This reverts commit 00d4889.
@qlzh727 It looks like this is ready to pull, if there is any other thing please let me know. Thanks! |
Imported from GitHub PR #17544 Fixes the issue #17386. Please find the bug, fix, and test [gist here](https://colab.research.google.com/gist/Frightera/93a784fc0e03a19f5804e7e14bfbecba/-17386.ipynb). Copybara import of the project: -- eedabb6 by Kaan <46622558+Frightera@users.noreply.github.com>: Pass classifier_activation arg to "Head" -- e226091 by Kaan <46622558+Frightera@users.noreply.github.com>: Add classifier_activation to the docstring -- 3856fed by Kaan <46622558+Frightera@users.noreply.github.com>: Add classifier_activation unit test -- c3dfc34 by Kaan <46622558+Frightera@users.noreply.github.com>: Move classifier_activation validation before head creation -- 71eaa69 by Kaan <46622558+Frightera@users.noreply.github.com>: Update test_application_classifier_activation -- ebd6940 by Kaan Bıçakcı <kaan.dvlpr@gmail.com>: Reformatting using format.sh -- bce4ac9 by Kaan Bıçakcı <kaan.dvlpr@gmail.com>: Fix test_application_classifier_activation test -- 00d4889 by Kaan Bıçakcı <kaan.dvlpr@gmail.com>: Fix Head params to accept classifier_activation -- 2c22d37 by Kaan Bıçakcı <kaan.dvlpr@gmail.com>: Revert "Fix Head params to accept classifier_activation" This reverts commit 00d4889. -- 3abd441 by Kaan Bıçakcı <kaan.dvlpr@gmail.com>: Exclude RegNet in test_application_classifier_activation Merging this change closes #17544 FUTURE_COPYBARA_INTEGRATE_REVIEW=#17544 from Frightera:frightera_fix_17386 3abd441 PiperOrigin-RevId: 509550999
Fixes the issue keras-team/tf-keras#319.
Please find the bug, fix, and test gist here.