Skip to content
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

Merged
merged 15 commits into from
Jan 4, 2024
Merged

Merge Kaggle integration to CV master branch #2229

merged 15 commits into from
Jan 4, 2024

Conversation

nkovela1
Copy link
Contributor

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

Copy link

google-cla bot commented Dec 11, 2023

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.

@divyashreepathihalli divyashreepathihalli added the kokoro:force-run Runs Tests on GPU label Dec 11, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Runs Tests on GPU label Dec 11, 2023
keras_cv/conftest.py Outdated Show resolved Hide resolved
@sampathweb sampathweb added the kokoro:force-run Runs Tests on GPU label Dec 11, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Runs Tests on GPU label Dec 11, 2023
Copy link
Collaborator

@sampathweb sampathweb left a 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

@nkovela1 nkovela1 added the kokoro:force-run Runs Tests on GPU label Dec 11, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Runs Tests on GPU label Dec 11, 2023
@sampathweb sampathweb added the kokoro:force-run Runs Tests on GPU label Dec 15, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Runs Tests on GPU label Dec 15, 2023
@nkovela1 nkovela1 added the kokoro:force-run Runs Tests on GPU label Dec 15, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Runs Tests on GPU label Dec 15, 2023
@nkovela1 nkovela1 added the kokoro:force-run Runs Tests on GPU label Dec 15, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Runs Tests on GPU label Dec 15, 2023
@sampathweb sampathweb added the kokoro:force-run Runs Tests on GPU label Dec 18, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Runs Tests on GPU label Dec 18, 2023
@sampathweb sampathweb added the kokoro:force-run Runs Tests on GPU label Dec 19, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Runs Tests on GPU label Dec 19, 2023
@nkovela1 nkovela1 added the kokoro:force-run Runs Tests on GPU label Jan 4, 2024
nkovela1 and others added 15 commits January 4, 2024 21:03
* 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
@kokoro-team kokoro-team removed the kokoro:force-run Runs Tests on GPU label Jan 4, 2024
@nkovela1 nkovela1 added the kokoro:force-run Runs Tests on GPU label Jan 4, 2024
@nkovela1 nkovela1 merged commit f513023 into master Jan 4, 2024
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kokoro:force-run Runs Tests on GPU
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants