Keras-cv

Latest version: v0.9.0

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

0.6.1

This is a fast-follow to 0.6.0 with two notable fixes:

- Re-added support for TF 2.12
- Fixed Non-Max-Suppression for Keras Core + TensorFlow backend

What's Changed
* Fix Devcontainer by ianstenbit in https://github.com/keras-team/keras-cv/pull/1930
* Use TF-native NMS when in TF backend by ianstenbit in https://github.com/keras-team/keras-cv/pull/1931
* Switch back to tf 2.12 as minimum version by ianstenbit in https://github.com/keras-team/keras-cv/pull/1934


**Full Changelog**: https://github.com/keras-team/keras-cv/compare/v0.6.0...v0.6.1

0.6.0

KerasCV is adding experimental support for Jax and PyTorch backends on top of the Keras Core library. Read the [anouncement](https://keras.io/keras_core/announcement/), and browse the [full library documentation](http://keras.io/keras_core/), including how to specify the backend when running your code.

Support for both Jax and PyTorch is still experimental, expect some rough edges and please give us feedback!

Summary
This release should be equivalent to 0.5.1 with the addition of multi-backend support.
The following API components do not yet support Jax + PyTorch:
- keras_cv.models.StableDiffusion[V2]
- keras_cv.models.MultiHeadCenterPillar
- keras_cv.training.ContrastiveTrainer
- All models under keras_cv.models.legacy

Note that there are two ways you can run on top of Tensorflow.
If you run your scripts/colab without any changes, KerasCV will use tf.keras for all layer and modeling implementations. This should be a no-op from previous releases of the library.

If you run your scripts/colab with KERAS_BACKEND={jax, torch, tensorflow}, you will be trying the new Keras Core library, using the specified backend. This is a great way to test out the future of the library!

Full details on runtime specification is available along with the [Keras Core documentation](http://keras.io/keras_core/).

What's Changed
* Add support for PyTorch and Jax to KerasCV by tirthasheshpatel in https://github.com/keras-team/keras-cv/pull/1925
* Update version to dev release by ianstenbit in https://github.com/keras-team/keras-cv/pull/1927

New Contributors
* tirthasheshpatel made their first contribution in https://github.com/keras-team/keras-cv/pull/1925

**Full Changelog**: https://github.com/keras-team/keras-cv/compare/v0.5.1...v0.6.0.dev0

0.6.0.dev0

🚧 Dev release. 🚧

KerasCV is adding experimental support for Jax and PyTorch backends on top of the Keras Core library. Read the [anouncement](http://keras.io/keras_core/annoucement/), and browse the [full library documentation](http://keras.io/keras_core/), including how to specify the backend when running your code.

Support for both Jax and PyTorch is still experimental, expect some rough edges and please give us feedback!

Summary
This release should be equivalent to 0.5.1 with the addition of multi-backend support.
The following API components do not yet support Jax + PyTorch:
- keras_cv.models.StableDiffusion[V2]
- keras_cv.models.MultiHeadCenterPillar
- keras_cv.training.ContrastiveTrainer
- All models under keras_cv.models.legacy

Note that there are two ways you can run on top of Tensorflow.
If you run your scripts/colab without any changes, KerasCV will use tf.keras for all layer and modeling implementations. This should be a no-op from previous releases of the library.

If you run your scripts/colab with KERAS_BACKEND={jax, torch, tensorflow}, you will be trying the new Keras Core library, using the specified backend. This is a great way to test out the future of the library!

Full details on runtime specification is available along with the [Keras Core documentation](http://keras.io/keras_core/).

What's Changed
* Add support for PyTorch and Jax to KerasCV by tirthasheshpatel in https://github.com/keras-team/keras-cv/pull/1925
* Update version to dev release by ianstenbit in https://github.com/keras-team/keras-cv/pull/1927

New Contributors
* tirthasheshpatel made their first contribution in https://github.com/keras-team/keras-cv/pull/1925

**Full Changelog**: https://github.com/keras-team/keras-cv/compare/v0.5.1...v0.6.0.dev0

0.5.1

What's Changed
* Add epsilon for NaN prevention + test case to RetinaNet by LukeWood in https://github.com/keras-team/keras-cv/pull/1684
* Fixing typos by ID6109 in https://github.com/keras-team/keras-cv/pull/1778
* Remove randomly zoomed crop by LukeWood in https://github.com/keras-team/keras-cv/pull/1769
* Add a numeric preset test for our MobileNet backbone by ianstenbit in https://github.com/keras-team/keras-cv/pull/1786
* Refactor correct_pad_downsample as a util by ianstenbit in https://github.com/keras-team/keras-cv/pull/1787
* Remove an unused parameter in the CenterNet label encoder by ianstenbit in https://github.com/keras-team/keras-cv/pull/1788
* bug fix for csp_darknet presets by haifeng-jin in https://github.com/keras-team/keras-cv/pull/1790
* YOLOV8Detector fpn_depth defaults to 2 by haifeng-jin in https://github.com/keras-team/keras-cv/pull/1791
* Rename MaybeApply to RandomApply by avinair in https://github.com/keras-team/keras-cv/pull/1792
* Fix MobileNetBackbone.feature_pyramid_inputs by barrypitman in https://github.com/keras-team/keras-cv/pull/1785
* Mark RetinaNetSmokeTest "extra_large" by jbischof in https://github.com/keras-team/keras-cv/pull/1797
* Fix param order for YOLOV8 backbone by ianstenbit in https://github.com/keras-team/keras-cv/pull/1796
* Fix BoxCOCOMetrics by james77777778 in https://github.com/keras-team/keras-cv/pull/1799
* Support the updated 3D data format in most 3D preprocessing KPLs by ianstenbit in https://github.com/keras-team/keras-cv/pull/1789
* Mark contrastive test suit as "extra_large" by jbischof in https://github.com/keras-team/keras-cv/pull/1802
* Mark saving & fitting tests "large" and test `models/` on CI by jbischof in https://github.com/keras-team/keras-cv/pull/1804
* Run large tests on GCB by jbischof in https://github.com/keras-team/keras-cv/pull/1803
* Test legacy on GCB by jbischof in https://github.com/keras-team/keras-cv/pull/1805
* Fix __init__.py behavior for `legacy` folder by jbischof in https://github.com/keras-team/keras-cv/pull/1810
* Fix DeepLabV3 tests by ianstenbit in https://github.com/keras-team/keras-cv/pull/1817
* Use `result` instead of `evaluate` in WaymoEvaluationCallback by ianstenbit in https://github.com/keras-team/keras-cv/pull/1821
* Add saving tests for object detection by jbischof in https://github.com/keras-team/keras-cv/pull/1815
* Fix error thrown by YOLOV8Detector.summary() by ianstenbit in https://github.com/keras-team/keras-cv/pull/1823
* Exclude the `backbone` from Task model summaries by ianstenbit in https://github.com/keras-team/keras-cv/pull/1824
* Mark the RetinaNetSmoke test as large, since 1725 is fixed by ianstenbit in https://github.com/keras-team/keras-cv/pull/1825
* Support Segmentation Masks in Mixup Layer by cosmo3769 in https://github.com/keras-team/keras-cv/pull/1584
* Move requirements.txt to the top-level of the repo by ianstenbit in https://github.com/keras-team/keras-cv/pull/1827
* Clean up references to LukeWood and tanzheny by ianstenbit in https://github.com/keras-team/keras-cv/pull/1847
* Change pyramid_level_inputs to have string keys by avinair in https://github.com/keras-team/keras-cv/pull/1826
* Throw a better error when ragged boxes are passed to YOLOv8 by ianstenbit in https://github.com/keras-team/keras-cv/pull/1844
* Fix broken StableDiffusion license link by ianstenbit in https://github.com/keras-team/keras-cv/pull/1843
* Fix AugMix/RandomShear issue by ianstenbit in https://github.com/keras-team/keras-cv/pull/1846
* Support updating the NMS decoder in YOLOv8 by ianstenbit in https://github.com/keras-team/keras-cv/pull/1841
* Refactor `MobileNetBackbone` for readability by ID6109 in https://github.com/keras-team/keras-cv/pull/1838
* Handle new import path for private Keras modules in 2.13 by ianstenbit in https://github.com/keras-team/keras-cv/pull/1850
* Temporarily disable CI on Windows by ianstenbit in https://github.com/keras-team/keras-cv/pull/1855
* Refactor `ResNetBackbone` for readability by ID6109 in https://github.com/keras-team/keras-cv/pull/1839
* CIoU Loss by IMvision12 in https://github.com/keras-team/keras-cv/pull/1845
* Remove `custom_object_scope` from `mobilenet_v3_backbone.py` by ID6109 in https://github.com/keras-team/keras-cv/pull/1857
* backbone compatibility for objection detection models [RetinaNet] by IMvision12 in https://github.com/keras-team/keras-cv/pull/1852
* Segmentation map in Resizing layer by cosmo3769 in https://github.com/keras-team/keras-cv/pull/1834
* Update YOLOv8 Loss by IMvision12 in https://github.com/keras-team/keras-cv/pull/1858
* Remove Windows CI by ianstenbit in https://github.com/keras-team/keras-cv/pull/1868
* Retinanet Tests by IMvision12 in https://github.com/keras-team/keras-cv/pull/1863
* Refactor `ResNetV2Backbone` for readability by ID6109 in https://github.com/keras-team/keras-cv/pull/1842
* Refactor `ResNetBackbone` for readability part2 by ID6109 in https://github.com/keras-team/keras-cv/pull/1856
* Migrate DenseNet to subclass `Backbone` by ID6109 in https://github.com/keras-team/keras-cv/pull/1759
* Fix RetinaNet anchor generator guard clause by ianstenbit in https://github.com/keras-team/keras-cv/pull/1867
* Add: Visualization API for segmentation maps by ariG23498 in https://github.com/keras-team/keras-cv/pull/1866
* Rationalize pyramid_level_inputs tests by jbischof in https://github.com/keras-team/keras-cv/pull/1873
* [Vizualization] Swap `np.interp` with `utils.transform_value_range` by ariG23498 in https://github.com/keras-team/keras-cv/pull/1881
* Add ragged support to YOLOV8LabelEncoder by james77777778 in https://github.com/keras-team/keras-cv/pull/1870
* Create `presets_without_weights` classproperty by jbischof in https://github.com/keras-team/keras-cv/pull/1872
* Fix off-by-one issue with RetinaNet anchor generation by ianstenbit in https://github.com/keras-team/keras-cv/pull/1882
* [Contrastive Trainer] Check for duplicate projectors by ariG23498 in https://github.com/keras-team/keras-cv/pull/1888
* Add ragged groundtruth support to BoxCOCOMetrics by james77777778 in https://github.com/keras-team/keras-cv/pull/1864
* Support for `tf.data.Dataset` added in `plot_image_gallery`, removed hard dependency on `rows` and `cols` params by suvadityamuk in https://github.com/keras-team/keras-cv/pull/1837
* Mark TF saving tests as "extra_large" by jbischof in https://github.com/keras-team/keras-cv/pull/1898
* Backbone Compatibility Test for YOLOv8 by IMvision12 in https://github.com/keras-team/keras-cv/pull/1890
* Fixing `retinanet.py` training example by ID6109 in https://github.com/keras-team/keras-cv/pull/1889
* Assert metric reset works correctly in RetinaNet by ianstenbit in https://github.com/keras-team/keras-cv/pull/1899
* Add "feature_pyramid" as parameter inside RetinaNet __init__ by gianlucasama in https://github.com/keras-team/keras-cv/pull/1885
* Add YOLOV8 backbone presets to the global backbone registry by ianstenbit in https://github.com/keras-team/keras-cv/pull/1900
* Create a separate license structure for Waymo-contributed 3D augmentations by ianstenbit in https://github.com/keras-team/keras-cv/pull/1598
* Bump version to 0.5.1 by ianstenbit in https://github.com/keras-team/keras-cv/pull/1915

New Contributors
* avinair made their first contribution in https://github.com/keras-team/keras-cv/pull/1792
* ariG23498 made their first contribution in https://github.com/keras-team/keras-cv/pull/1866
* suvadityamuk made their first contribution in https://github.com/keras-team/keras-cv/pull/1837
* gianlucasama made their first contribution in https://github.com/keras-team/keras-cv/pull/1885

**Full Changelog**: https://github.com/keras-team/keras-cv/compare/v0.5.0...v0.5.1

0.5.0

With KerasCV 0.5.0, we're releasing some shiny new functionality, as well a new modeling API to bring us into alignment with our sister package, KerasNLP.

Check out our newly updated API documentation on [KerasIO](https://keras.io/keras_cv/)
(_note that the new documentation will not be live until approximately 1 day after this release_)

Our exciting new offerings in 0.5.0 include:
- The new `from_preset` API including pretrained presets for your favorite backbones
- A new elegant `Backbone` API for easy model composition and transfer learning
- YOLOV8 for object detection
- Vectorized augmentation layers to bring optimal performance to data preprocessing

We've also partnered with Waymo to offer a 3D object detection API for data preprocessing and modeling in KerasCV.
In 0.5.0 we're releasing an initial version of this API, with more to come! Look out for an upcoming guide on 3D object detection in KerasCV in partnership with Waymo.

As always, please let us know if you encounter any issues with the release by opening an Issue here on GitHub.

Thanks!
The KerasCV Team

0.4.2

What's Changed
* Fix demos with dict format by LukeWood in https://github.com/keras-team/keras-cv/pull/1259
* Fix inference for jittered resize by LukeWood in https://github.com/keras-team/keras-cv/pull/1260
* API polish on NMS layer by LukeWood in https://github.com/keras-team/keras-cv/pull/1261
* Refactor preserve_rel to a more readable set of methods by ianstenbit in https://github.com/keras-team/keras-cv/pull/1264
* Update resizing demo to match other demos and use new bbox format by ianstenbit in https://github.com/keras-team/keras-cv/pull/1266
* add utility function to mask invalid detections by LukeWood in https://github.com/keras-team/keras-cv/pull/1265
* [Cleanup] Use flag-specified values in RetinaNet example script by ianstenbit in https://github.com/keras-team/keras-cv/pull/1271
* [YOLOX] Step 1/? : add GIoU loss and update IoU loss by quantumalaviya in https://github.com/keras-team/keras-cv/pull/1006
* Wrong install documentation string on readme by MrinalTyagi in https://github.com/keras-team/keras-cv/pull/1284
* Fix callback import error by LukeWood in https://github.com/keras-team/keras-cv/pull/1279
* [Cleanup] remove print statements in tests by ianstenbit in https://github.com/keras-team/keras-cv/pull/1287
* Update the internal UNet API to return a Keras model by ianstenbit in https://github.com/keras-team/keras-cv/pull/1286
* Make 3d namespacing consistent by ianstenbit in https://github.com/keras-team/keras-cv/pull/1288
* Fix the pascal VOC loader to use the dictionary format by LukeWood in https://github.com/keras-team/keras-cv/pull/1289
* Make `include_rescaling` and `include_top` required positionals by LukeWood in https://github.com/keras-team/keras-cv/pull/1291
* Fixed a small error in the RetinaNet training script by quantumalaviya in https://github.com/keras-team/keras-cv/pull/1295
* Test compilation of cv_layers.MultiClassNonMaxSuppression by bhack in https://github.com/keras-team/keras-cv/pull/1270
* Added missing name to DarknetConvBlock variables. by sebastian-sz in https://github.com/keras-team/keras-cv/pull/1298
* fix example training script for RetinaNet by LukeWood in https://github.com/keras-team/keras-cv/pull/1302
* Remove gt_ prefix from OD models compute_loss by ianstenbit in https://github.com/keras-team/keras-cv/pull/1304
* Another small fix to RetinaNet training example by quantumalaviya in https://github.com/keras-team/keras-cv/pull/1306
* [3D Object Detection] Rename GlobalRandomFlipY -> GlobalRandomFlip by ianstenbit in https://github.com/keras-team/keras-cv/pull/1303
* [Custom ops] Update docs + build without custom ops by default by ianstenbit in https://github.com/keras-team/keras-cv/pull/1312
* Implement RepeatedAugmentation as a KerasCV API by LukeWood in https://github.com/keras-team/keras-cv/pull/1293
* [1/3~] Begin cleaning up ops namespace by LukeWood in https://github.com/keras-team/keras-cv/pull/1299
* Add RandomTranslation to KerasCV by LukeWood in https://github.com/keras-team/keras-cv/pull/1314
* Fix layers/__init__.py by ianstenbit in https://github.com/keras-team/keras-cv/pull/1316
* Add RandomTranslation to serialization test by LukeWood in https://github.com/keras-team/keras-cv/pull/1315
* Update multi_class_non_max_suppression.py by LukeWood in https://github.com/keras-team/keras-cv/pull/1318
* Update RetinaNet + RCNN to use 'classification' instead of cls by LukeWood in https://github.com/keras-team/keras-cv/pull/1313
* Add ConvMixer Models by IMvision12 in https://github.com/keras-team/keras-cv/pull/1281
* Remove extra models from CI tests for ViT by ianstenbit in https://github.com/keras-team/keras-cv/pull/1322
* [api-polish] Renaming api's by arnavrneo in https://github.com/keras-team/keras-cv/pull/1267
* Refine readme.md by LukeWood in https://github.com/keras-team/keras-cv/pull/1292
* Update README.md by LukeWood in https://github.com/keras-team/keras-cv/pull/1328
* Fix typo in FasterRCNN compile error message by ianstenbit in https://github.com/keras-team/keras-cv/pull/1324
* fix `AnchorGenerator` output shape for object detection models by tomrtk in https://github.com/keras-team/keras-cv/pull/1305
* Switch to core Keras GroupNormalization by fchollet in https://github.com/keras-team/keras-cv/pull/1333
* Reformat with black 23.1 to fix CI by ianstenbit in https://github.com/keras-team/keras-cv/pull/1337
* Remove unused target_gather layer. This lives in utils by ianstenbit in https://github.com/keras-team/keras-cv/pull/1341
* Add pre-trained weights for ConvMixer_512_16 by ianstenbit in https://github.com/keras-team/keras-cv/pull/1325
* Add gs:// path loading to weights by LukeWood in https://github.com/keras-team/keras-cv/pull/1340
* Support pure-dictionary input format for OD models by ianstenbit in https://github.com/keras-team/keras-cv/pull/1348
* Removed the redundant call by soma2000-lang in https://github.com/keras-team/keras-cv/pull/1352
* add serialization test to losses by LukeWood in https://github.com/keras-team/keras-cv/pull/1345
* Fixes weight loading for gs:// by LukeWood in https://github.com/keras-team/keras-cv/pull/1355
* remove pad_batch_to_shape by LukeWood in https://github.com/keras-team/keras-cv/pull/1346
* v0.4.2 by LukeWood in https://github.com/keras-team/keras-cv/pull/1354

New Contributors
* MrinalTyagi made their first contribution in https://github.com/keras-team/keras-cv/pull/1284
* arnavrneo made their first contribution in https://github.com/keras-team/keras-cv/pull/1267
* tomrtk made their first contribution in https://github.com/keras-team/keras-cv/pull/1305
* soma2000-lang made their first contribution in https://github.com/keras-team/keras-cv/pull/1352

**Full Changelog**: https://github.com/keras-team/keras-cv/compare/v0.4.1...v0.4.2

Page 4 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.