-
Notifications
You must be signed in to change notification settings - Fork 330
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
Merge Kaggle integration to CV master
branch
#2229
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
keras_cv/models/backbones/csp_darknet/csp_darknet_backbone_test.py
Outdated
Show resolved
Hide resolved
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 landing this feature. Excited for the integration with kagglehub
keras_cv/models/backbones/csp_darknet/csp_darknet_backbone_presets.py
Outdated
Show resolved
Hide resolved
* Adapt KerasCV to new preset logic * Add new preset logic to task, add segmentation example to test * Add updated Kaggle link handling * Fix backbone preset functionality in Task * Change to subclassing check for backbone in task
* Add preset conversion upload script * Fix formatting
* Change preset configs to Kaggle hangles * Remove legacy from_preset * Convert all remaining model presets to Kaggle handle * Convert last remaining presets to Kaggle handle * Add kaggle handle checking for task class * Add flag checking * Add alias subclass checking * Add input shape config override * Fix formatting * Update config for CenterPillarBackbone * Ensure that preset with weights defaults to loading weights * Fix formatting issues * Comment out preset conversion script * Convert preset script to functions * Address preset checking comments, update utils_test.py * Ensure subclass and alias checking * Change weights check * Update presets script * Change load_weights check * Add more models to preset conversion * Remaining models to preset conversion script * Add comments on load_weights behavior * Remove useless comment
* Update conversion script to specify name for models * Add kwargs argument
* Add clearer errors for preset methods * Formatting fixes
* Update segformer_presets with backbone import * Update format.
* Convert initial kaggle handles * Add Vision transformer kaggle switch * Add kagglehub requirement and auth, fix formatting * Special case input shape arg * Add kaggle username and key to CI * Add kaggle authentication to Keras 2 actions * Add test line * Add an extra space * Fix input shape build on load_preset * Fix format issues
* Update SegFormer preset tests to remove input_shape arg * Add fix for saving compatibility with Keras 2, fix formatting
* Add fixes for backwards compatibility for versions <2.15 * Bump version number for presets to version 2 * Port over RetinaNet custom metric fix * Bump DeepLabV3Plus preset version after re-upload
This PR merges the Kaggle integration into the KerasCV master branch.
All presets will now be hosted via Kaggle, and all KerasCV models and presets are now public on Kaggle: https://www.kaggle.com/organizations/keras/models