From e40e6e6e8602f745f153cbbd3645e630931ae784 Mon Sep 17 00:00:00 2001 From: Lutz Roeder Date: Thu, 2 Nov 2023 22:23:47 -0700 Subject: [PATCH] Update Keras script --- tools/tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/tf b/tools/tf index 3382e16e15..3e42bcb19c 100755 --- a/tools/tf +++ b/tools/tf @@ -21,6 +21,7 @@ venv() { clean() { echo "tf clean" rm -rf "./third_party/env/tensorflow" + rm -rf "./third_party/source/keras" rm -rf "./third_party/source/tensorflow" rm -rf "./third_party/source/tflite-support" } @@ -29,6 +30,8 @@ sync() { echo "tf sync" [ -d "./third_party/source/tensorflow" ] || git clone --quiet https://github.com/tensorflow/tensorflow.git "./third_party/source/tensorflow" git -C "./third_party/source/tensorflow" pull --quiet --prune + [ -d "./third_party/source/keras" ] || git clone --quiet https://github.com/keras-team/keras.git "./third_party/source/keras" + git -C "./third_party/source/keras" pull --quiet --prune mkdir -p "./third_party/source/tflite-support/tensorflow_lite_support/metadata" curl --silent --location --output "./third_party/source/tflite-support/tensorflow_lite_support/metadata/metadata_schema.fbs" "https://github.com/tensorflow/tflite-support/raw/master/tensorflow_lite_support/metadata/metadata_schema.fbs" }