From ff3776f69c34394d48a6161a21b1cd11cb355659 Mon Sep 17 00:00:00 2001 From: "Kazantsev, Roman" Date: Wed, 8 Jan 2025 18:25:26 +0400 Subject: [PATCH 1/2] Add OpenVINO into README.md Signed-off-by: Kazantsev, Roman --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b8a179b18f65..4b45825da5e6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Keras 3: Deep Learning for Humans -Keras 3 is a multi-backend deep learning framework, with support for JAX, TensorFlow, and PyTorch. +Keras 3 is a multi-backend deep learning framework, with support for JAX, TensorFlow, PyTorch and OpenVINO (for inference-only). Effortlessly build and train models for computer vision, natural language processing, audio processing, timeseries forecasting, recommender systems, etc. @@ -73,7 +73,7 @@ python pip_build.py --install ## Configuring your backend You can export the environment variable `KERAS_BACKEND` or you can edit your local config file at `~/.keras/keras.json` -to configure your backend. Available backend options are: `"tensorflow"`, `"jax"`, `"torch"`. Example: +to configure your backend. Available backend options are: `"tensorflow"`, `"jax"`, `"torch"`, `"openvino"`. Example: ``` export KERAS_BACKEND="jax" @@ -91,6 +91,10 @@ import keras **Note:** The backend must be configured before importing `keras`, and the backend cannot be changed after the package has been imported. +**Note:** The OpenVINO backend is an inference-only backend, meaning it is designed only for running model +predictions using `model.predict()` method. +To use `openvino` backend, install the required dependencies from the `requirements-openvino.txt` file. + ## Backwards compatibility Keras 3 is intended to work as a drop-in replacement for `tf.keras` (when using the TensorFlow backend). Just take your From a10f0e2a0f9356238d9fd2cf763dce78ffa0f1bc Mon Sep 17 00:00:00 2001 From: Roman Kazantsev Date: Wed, 8 Jan 2025 18:28:18 +0400 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b45825da5e6..047906baa9a4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Keras 3: Deep Learning for Humans -Keras 3 is a multi-backend deep learning framework, with support for JAX, TensorFlow, PyTorch and OpenVINO (for inference-only). +Keras 3 is a multi-backend deep learning framework, with support for JAX, TensorFlow, PyTorch, and OpenVINO (for inference-only). Effortlessly build and train models for computer vision, natural language processing, audio processing, timeseries forecasting, recommender systems, etc.