From 6fd5cfd077bba32a7f3a5dbea397e2b7eb922b8d Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 3 Nov 2021 19:21:29 +0100 Subject: [PATCH 1/3] Keras CI fix --- .github/workflows/ci-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 8ebfdeca8d74..2ace53944339 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -50,7 +50,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -qr requirements.txt -f https://download.pytorch.org/whl/cpu/torch_stable.html - pip install -q onnx tensorflow-cpu # for export + pip install -q onnx tensorflow-cpu keras==2.6.0 # for export python --version pip --version pip list From 0971227ad69fd2aab07fb444d20cd3feec6e390f Mon Sep 17 00:00:00 2001 From: pre-commit Date: Wed, 3 Nov 2021 18:22:44 +0000 Subject: [PATCH 2/3] pre-commit fixes --- tutorial.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial.ipynb b/tutorial.ipynb index b81db0de6825..9184a66d3f42 100644 --- a/tutorial.ipynb +++ b/tutorial.ipynb @@ -1085,4 +1085,4 @@ "outputs": [] } ] -} \ No newline at end of file +} From b54e235e17a602413d84d2217e6a414629b77cb4 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 3 Nov 2021 19:23:49 +0100 Subject: [PATCH 3/3] Update ci-testing.yml --- .github/workflows/ci-testing.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 2ace53944339..abfe21ef8726 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -46,11 +46,12 @@ jobs: restore-keys: | ${{ runner.os }}-${{ matrix.python-version }}-pip- + # Known Keras 2.7.0 issue: https://github.com/ultralytics/yolov5/pull/5486 - name: Install dependencies run: | python -m pip install --upgrade pip pip install -qr requirements.txt -f https://download.pytorch.org/whl/cpu/torch_stable.html - pip install -q onnx tensorflow-cpu keras==2.6.0 # for export + pip install -q onnx tensorflow-cpu keras==2.6.0 # for export python --version pip --version pip list