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

Test presets with Keras saving fixes #2255

Closed
wants to merge 37 commits into from

Conversation

nkovela1
Copy link
Contributor

No description provided.

nkovela1 and others added 30 commits December 14, 2023 18:32
…am#2200)

* 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
…#2225)

* 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
…am#2200)

* 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
…#2225)

* 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
@nkovela1 nkovela1 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
@mattdangerw
Copy link
Member

mattdangerw commented Jan 9, 2024

I think we no longer need these so closing, but can re-open if we do!

@mattdangerw mattdangerw closed this Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants