Releases: keras-team/keras-cv
v0.9.0
In addition to the changes listed below, the codebase structure has evolved:
- All source files are now in keras_cv/src/.
- All API files are now in keras_cv/api/.
- Users can install KerasCV directly from GitHub or local git repository.
This doesn't change how users will interact with KerasCV and doesn't update the public API.
What's Changed
- Version bump master to 0.8.2 by @sampathweb in #2290
- Move keras-cv markdown files to toplevel by @mattdangerw in #2291
- Add
version()
API to unify with Keras and KerasNLP by @grasskin in #2199 - Update random_crop_and_zoom.py by @sachinprasadhs in #2294
- Bug fix for Stable Diffusion model timesteps by @haifeng-jin in #2303
- Add BASNet Segmentation Model (#2006) by @hamidriasat in #2271
- Fix image.shape type by @sachinprasadhs in #2305
- Create workflow for auto assignment of issues and for stale issues by @sachinprasadhs in #2313
- Fix format and Update Vectorized Base to fix tf.data with non-TF backends by @sampathweb in #2323
- Fix CI Test for Basnet OOM and PyCoCo Test Failure for JAX by @sampathweb in #2322
- Fix TensorFlow-GPU flaky failure by @tirthasheshpatel in #2325
- Remove Bazel steps from Contributing Guide by @sampathweb in #2324
- Update version to 0.8.3 by @sampathweb in #2327
- Bump the github-actions group with 3 updates by @dependabot in #2330
- Pin Jax Version in GPU CI by @sampathweb in #2338
- Bump the python group with 5 updates by @dependabot in #2340
- Update auto-assignment.js by @sachinprasadhs in #2337
- Revert back to JAX 0.4.23 by @sampathweb in #2342
- move conftest.py to top level by @sampathweb in #2345
- Fix format of Custom Ops build by @sampathweb in #2346
- Fix Custom Ops Build by @sampathweb in #2347
- Add Waymo folder License to the top by @sampathweb in #2348
- update ops build by @sampathweb in #2349
- Bump the github-actions group with 2 updates by @dependabot in #2343
- Add CLIP to KerasCV by @divyashreepathihalli in #2331
- Migrate VGG16 from legacy to backbone by @pranavvp16 in #2341
- CLIP : Enable CLIP.from_preset() Kaggle tests by @divyashreepathihalli in #2357
- Adds psutil to CI Build Script by @sampathweb in #2355
- Update clip_image_model.py by @divyashreepathihalli in #2359
- Fixed ROI Pooling Output Shape to Consider Multiple ROIs (#2350) by @VarunS1997 in #2360
- Add training scripts for yolov8 and deeplabv3plus by @divyashreepathihalli in #2361
- [Port] OD layers to Keras 3 by @ariG23498 in #2295
- bug fix for num_steps=1 by @haifeng-jin in #2373
- Clip update inputs format by @divyashreepathihalli in #2377
- Fix rendering issue. by @sachinprasadhs in #2375
- CI: psutil fix: Remove install of Python 3.9 by @sampathweb in #2392
- Fix docstring of pyramid keys in
YOLOV8Detector
by @smitlg in #2391 - Export Model APIs by @sachinprasadhs in #2389
- Fix nlp import by @divyashreepathihalli in #2396
- Update CI to use TF 2.16 by @sampathweb in #2378
- Standardize docstring by @sachinprasadhs in #2399
- Update CI to skip deps install from keras_nlp by @sampathweb in #2405
- Add Video Swin Transformer by @innat in #2369
- Update CLIP to a functional model by @divyashreepathihalli in #2393
- Fix import of Keras by @sampathweb in #2420
- Generated API by @sampathweb in #2425
- Add keras-nlp to nightly action by @sampathweb in #2426
- Raise error if tensorflow_text is not found by @sampathweb in #2427
- Export video swin APIs by @sachinprasadhs in #2428
- ver-0.9.0.dev0 by @sampathweb in #2429
- Revert "ver-0.9.0.dev0" by @sampathweb in #2431
New Contributors
- @grasskin made their first contribution in #2199
- @sachinprasadhs made their first contribution in #2294
- @hamidriasat made their first contribution in #2271
- @pranavvp16 made their first contribution in #2341
- @VarunS1997 made their first contribution in #2360
- @smitlg made their first contribution in #2391
Full Changelog: v0.8.2...v0.9.0
v0.9.0.dev0
What's Changed
- Version bump master to 0.8.2 by @sampathweb in #2290
- Move keras-cv markdown files to toplevel by @mattdangerw in #2291
- Add
version()
API to unify with Keras and KerasNLP by @grasskin in #2199 - Update random_crop_and_zoom.py by @sachinprasadhs in #2294
- Bug fix for Stable Diffusion model timesteps by @haifeng-jin in #2303
- Add BASNet Segmentation Model (#2006) by @hamidriasat in #2271
- Fix image.shape type by @sachinprasadhs in #2305
- Create workflow for auto assignment of issues and for stale issues by @sachinprasadhs in #2313
- Fix format and Update Vectorized Base to fix tf.data with non-TF backends by @sampathweb in #2323
- Fix CI Test for Basnet OOM and PyCoCo Test Failure for JAX by @sampathweb in #2322
- Fix TensorFlow-GPU flaky failure by @tirthasheshpatel in #2325
- Remove Bazel steps from Contributing Guide by @sampathweb in #2324
- Update version to 0.8.3 by @sampathweb in #2327
- Bump the github-actions group with 3 updates by @dependabot in #2330
- Pin Jax Version in GPU CI by @sampathweb in #2338
- Bump the python group with 5 updates by @dependabot in #2340
- Update auto-assignment.js by @sachinprasadhs in #2337
- Revert back to JAX 0.4.23 by @sampathweb in #2342
- move conftest.py to top level by @sampathweb in #2345
- Fix format of Custom Ops build by @sampathweb in #2346
- Fix Custom Ops Build by @sampathweb in #2347
- Add Waymo folder License to the top by @sampathweb in #2348
- update ops build by @sampathweb in #2349
- Bump the github-actions group with 2 updates by @dependabot in #2343
- Add CLIP to KerasCV by @divyashreepathihalli in #2331
- Migrate VGG16 from legacy to backbone by @pranavvp16 in #2341
- CLIP : Enable CLIP.from_preset() Kaggle tests by @divyashreepathihalli in #2357
- Adds psutil to CI Build Script by @sampathweb in #2355
- Update clip_image_model.py by @divyashreepathihalli in #2359
- Fixed ROI Pooling Output Shape to Consider Multiple ROIs (#2350) by @VarunS1997 in #2360
- Add training scripts for yolov8 and deeplabv3plus by @divyashreepathihalli in #2361
- [Port] OD layers to Keras 3 by @ariG23498 in #2295
- bug fix for num_steps=1 by @haifeng-jin in #2373
- Clip update inputs format by @divyashreepathihalli in #2377
- Fix rendering issue. by @sachinprasadhs in #2375
- CI: psutil fix: Remove install of Python 3.9 by @sampathweb in #2392
- Fix docstring of pyramid keys in
YOLOV8Detector
by @smitlg in #2391 - Export Model APIs by @sachinprasadhs in #2389
- Fix nlp import by @divyashreepathihalli in #2396
- Update CI to use TF 2.16 by @sampathweb in #2378
- Standardize docstring by @sachinprasadhs in #2399
- Update CI to skip deps install from keras_nlp by @sampathweb in #2405
- Add Video Swin Transformer by @innat in #2369
- Update CLIP to a functional model by @divyashreepathihalli in #2393
- Fix import of Keras by @sampathweb in #2420
- Generated API by @sampathweb in #2425
- Add keras-nlp to nightly action by @sampathweb in #2426
- Raise error if tensorflow_text is not found by @sampathweb in #2427
- Export video swin APIs by @sachinprasadhs in #2428
- ver-0.9.0.dev0 by @sampathweb in #2429
New Contributors
- @grasskin made their first contribution in #2199
- @sachinprasadhs made their first contribution in #2294
- @hamidriasat made their first contribution in #2271
- @pranavvp16 made their first contribution in #2341
- @VarunS1997 made their first contribution in #2360
- @smitlg made their first contribution in #2391
Full Changelog: v0.8.2...v0.9.0.dev0
v0.8.2
What's Changed
- Add
version()
API to unify with Keras and KerasNLP (#2199) - Update random_crop_and_zoom.py (#2294)
- bug fix (#2303)
- Add BASNet Segmentation Model (#2006) (#2271)
- Fix image.shape type (#2305)
- Create workflow for auto assignment of issues and for stale issues (#2313)
- Update Vectorized Base Augmentations to work in
tf.data
pipeline for ALL backends (#2323) - Fix CI Test for Basnet OOM and PyCoCo Test Failure for JAX (#2322)
- Reduce memory consumption for BasNet tests (#2325)
Full Changelog: v0.8.1...v0.8.2
v0.8.1
What's Changed
- Fix base image aug layer for non-TF backend in
tf.data
pipeline. by @sampathweb in #2281 - Update version to 0.8.1 by @sampathweb in #2282
- Fix YOLOv8Detector deserialization by @nkovela1 in #2283
- Bump the python group with 4 updates by @dependabot in #2277
- Add Scorecard Action by @pnacht in #2267
- version bump to 0.8.1.dev0 by @divyashreepathihalli in #2284
- add nms serialization test by @divyashreepathihalli in #2285
- Add dict check in YOLOV8 arg deserialization by @nkovela1 in #2286
- update dataset link by @divyashreepathihalli in #2287
- Version bump to 0.8.1 by @divyashreepathihalli in #2289
New Contributors
- @dependabot made their first contribution in #2277
Full Changelog: v0.8.0...v0.8.1
v0.8.1.dev0
What's Changed
- Fix base image aug layer for non-TF backend in
tf.data
pipeline. by @sampathweb in #2281 - Update version to 0.8.1 by @sampathweb in #2282
- Fix YOLOv8Detector deserialization by @nkovela1 in #2283
- Bump the python group with 4 updates by @dependabot in #2277
- Add Scorecard Action by @pnacht in #2267
- version bump to 0.8.1.dev0 by @divyashreepathihalli in #2284
New Contributors
- @dependabot made their first contribution in #2277
Full Changelog: v0.8.0...v0.8.1.dev0
v0.8.0
This release integrates KerasCV with Kaggle Models. KerasCV models will now work in Kaggle offline notebooks and all assets will quickly attach to a notebook rather than needing a slow download.
Summary
Pre-trained KerasCV models are now available entirely through Kaggle Models, with the full list of models available in both KerasCV and KerasNLP hosted here.
Here is an example model page: EfficientNetV2
Note that each preset for the model is available via the Model Variations
tab drop-down menu along with example usage.
Additionally, you can view the file structure containing the model architecture, metadata, and weights, if applicable.
This change will not affect the existing usage of from_preset().
Statements like keras_nlp.models.MobileNetV3Backbone.from_preset("mobilenet_v3_small")
will continue to work and download checkpoints from the Kaggle Models hub.
An note on model saving—for saving support across Keras 2 and Keras 3, we recommend using the new Keras saved model format. You can use model.save('path/to/location.keras')
for a full model and model.save_weights('path/to/location.weights.h5')
for checkpoints. See the Keras saving guide for more details.
What's Changed
- Update the comment of the
num_classes
parameter of deeplab v3 by @aaudevart in #2071 - Set read-only tokens for all GitHub workflows by @pnacht in #2075
- Add the Segment Anything Model to KerasCV by @tirthasheshpatel in #1987
- Export SD submodels by @jbischof in #2080
- adding deeplab_v3_plus_presets by @divyashreepathihalli in #2051
- [Yolov8 detector] Fix example in docstring by @cosmo3769 in #2082
- Bump python version requirement to 3.9 by @mattdangerw in #2079
- [SAM] Fixed shape issue in example in docstring by @cosmo3769 in #2083
- Use "masks" and "boxes" as prompt keys for SAM by @ianstenbit in #2084
- Support partial prompting in SAM by @ianstenbit in #2085
- Explicitly specify full package for more modules, as shown in #2001 by @BjarneHerland in #2077
- Update VITDet to conform to KerasCV scaling standards by @ianstenbit in #2086
- Resolve mean/std swap for VITDet backbone by @ianstenbit in #2087
- Support importing Keras3 as Keras instead of Keras Core by @ianstenbit in #2089
- remove tests from pypi build by @haifeng-jin in #2094
- Export task models as both models.task.Model and models.Model by @ianstenbit in #2093
- Fix CSPDarkNetBackbone export by @ianstenbit in #2096
- Fix PyTorch tests by @ianstenbit in #2097
- Doc updates to switch branding to Keras 3 by @ianstenbit in #2092
- Fix a flaky test for Segment Anything by @ianstenbit in #2090
- Fix decoding of LabelEncoder for RetinaNet by @ianstenbit in #2099
- Use the proper title for example by @Philmod in #2109
- Fixes Fine-tuning Stable Diffusion by @ID6109 in #2113
- Fixed typo in README.md by @AniketP04 in #2106
- Update mask_invalid_detections.py by @VBPMP in #2117
- Fix the issue (#2102): Add cast to float32 from float16 into Stable D… in #2124
- Fix RetinaNet shape issue by @tirthasheshpatel in #2119
- update reviewers names by @divyashreepathihalli in #2130
- update keras-cv json file name by @divyashreepathihalli in #2128
- Improve keras 3 detection by @divyashreepathihalli in #2132
- Fix Segment Anything Model saving bug by @tirthasheshpatel in #2138
- Adds Nightly package for
keras-cv
by @sampathweb in #2139 - Set a security policy by @pnacht in #2142
- add Random ops shim by @divyashreepathihalli in #2145
- Replace
RandomGenerator
withSeedGenerator
by @sampathweb in #2150 - Revert "Replace
RandomGenerator
withSeedGenerator
" by @sampathweb in #2161 - Keras 3 compatibility by @divyashreepathihalli in #2170
- fix noise scheduler error in stable diffusion by @divyashreepathihalli in #2171
- Fix the issue(#2158): Add some file names into .gitignore by @y-vectorfield in #2159
- fix shapes error if images was a list. by @divyashreepathihalli in #2173
- Removed setup.py develop from documentation, replaced with pip instal… by @EdIzaguirre in #2118
- Remove keras-nightly pin by @sampathweb in #2174
- fix model None error by @divyashreepathihalli in #2176
- update version error by @divyashreepathihalli in #2175
- Fixes Saving Format related test failures for Keras 3 by @sampathweb in #2180
- convert to tensor before smart resize by @sampathweb in #2184
- Fix Keras 3 version check by @sampathweb in #2191
- Update version 0.8 by @sampathweb in #2190
- Fix bug when upranking passthrough inputs to RandAugment by @mattdangerw in #2194
- fix stable diffusion rank error by @divyashreepathihalli in #2208
- Simplify running KerasCV with Keras 3 by @divyashreepathihalli in #2179
- Fix dtype support for SegmentAnythingModel by @tirthasheshpatel in #2207
- Align backend/config with Keras NLP by @sampathweb in #2217
- Fix SegFormer Presets by @nkovela1 in #2222
- Update README.md by @divyashreepathihalli in #2223
- Adds Kokoro GPU Tests by @sampathweb in #2224
- Update random_cutout.py to be a subclass of VectorizedBaseImageAugmentationLayer by @sup3rgiu in #2123
- Vectorized implementation of RandomColorDegeneration and Equalization preprocessing layers by @sup3rgiu in #2214
- Fix the issue(#2195): Improve readability and comprehensibility of Stable Diffusion source by @y-vectorfield in #2197
- Fix GPU Test driver script by @sampathweb in #2228
- fix jax failing tests by @divyashreepathihalli in #2231
- Change reference of SeedGen and Serialization by @sampathweb in #2241
- Remove xlarge from continuous build by @sampathweb in #2242
- Fixes GPU Tests - JAX, PyTorch and some failures for Keras2 by @sampathweb in #2243
- Update Random to Stateless - Disables Stable Diffussion tests by @sampathweb in #2245
- Support non-tensorflow backends in KerasCV's preprocessing layers by @tirthasheshpatel in #2240
- Fix keras.engine import in predict_utils.py by @divyashreepathihalli in #2248
- Fix drop block by @divyashreepathihalli in #2250
- fix 3d preprocessing layer by @divyashreepathihalli in #2252
- Fixing conversion of box formats on the original boxes by @ariG23498 in #2213
- Add dependabot to update GitHub Actions and Python dependencies by @pnacht in #2259
- Remove cloudbuild config by @mattdangerw in https:/...
v0.8.0.dev2
Full Changelog: v0.6.4...v0.8.0.dev2
v0.8.0.dev1
This dev release introduces Kaggle integration with KerasCV, making all presets hosted on Kaggle.
This version includes backwards compatible fixes to ensure compatibility for these Kaggle presets across Keras 2 versions and Keras 3.
Kaggle Integration - Dev Release
Full Changelog: v07.2...0.8.0.dev0
0.7.2
Summary
This release simplifies our support for Keras 3 and Keras 2.
- If Keras 2 is installed, KerasCV will use Keras 2 and TensorFlow.
- If Keras 3 is installed, KerasCV requires TensorFlow 2.15+ and works with TensorFlow, PyTorch and Jax.
See https://keras.io/getting_started/ for detailed instructions on installing Keras 3. As mentioned in that doc, make sure to install Keras 3 last after installing tensorflow and other dependencies. This is a temporary step while TensorFlow is still pinning Keras 2.
To learn more, https://keras.io/keras_cv/
If you have any issue installing KerasCV, please open an issue.
Full Changelog: v0.7.1...0.7.2