Introduce keras-aug
: a library that includes Keras 3 preprocessing & augmentation layers
#20050
james77777778
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Repository: https://github.com/james77777778/keras-aug
If you are looking for a![Open in HF Spaces](https://camo.githubusercontent.com/b28d5ca112d96ae8c2abebc177d15bf8ab8a2bb42ed6eb8853e584bf9a67a450/68747470733a2f2f68756767696e67666163652e636f2f64617461736574732f68756767696e67666163652f6261646765732f7265736f6c76652f6d61696e2f6f70656e2d696e2d68662d7370616365732d736d2d6461726b2e737667)
torchvision
-like preprocessing & augmentation pipeline, check out this repo.A demo app is available here:
Feel free to contact me if you have any ideas or encounter any issues.
Description
KerasAug is a library that includes Keras 3 preprocessing and augmentation layers, providing support for various data types such as images, labels, bounding boxes, segmentation masks, and more.
Note
See
docs/*.py
for the GIF generation. YOLOV8-like pipeline for bounding boxes and segmentation masks.KerasAug aims to provide fast, robust and user-friendly preprocessing and augmentation layers, facilitating seamless integration with Keras 3 and
tf.data
.The APIs largely follow
torchvision
, and the correctness of the layers has been verified through unit tests.Why KerasAug
tf.data
, offering a performant and scalable data pipeline.torchvision
.Quickstart
Rock, Paper and Scissors Image Classification
The above example runs with all backends (JAX, TensorFlow, Torch).
More Examples
YOLOV8 object detection pipeline![Open In Colab](https://camo.githubusercontent.com/96889048f8a9014fdeba2a891f97150c6aac6e723f5190236b10215a97ed41f3/68747470733a2f2f636f6c61622e72657365617263682e676f6f676c652e636f6d2f6173736574732f636f6c61622d62616467652e737667)
YOLOV8 semantic segmentation pipeline![Open In Colab](https://camo.githubusercontent.com/96889048f8a9014fdeba2a891f97150c6aac6e723f5190236b10215a97ed41f3/68747470733a2f2f636f6c61622e72657365617263682e676f6f676c652e636f6d2f6173736574732f636f6c61622d62616467652e737667)
Beta Was this translation helpful? Give feedback.
All reactions