Skip to content

Commit

Permalink
Keras CI fix (#5486)
Browse files Browse the repository at this point in the history
* Keras CI fix

* pre-commit fixes

* Update ci-testing.yml

Co-authored-by: pre-commit <pre-commit@example.com>
  • Loading branch information
glenn-jocher and pre-commit committed Nov 3, 2021
1 parent 06bf8ef commit 34b859a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 # for export
pip install -q onnx tensorflow-cpu keras==2.6.0 # for export
python --version
pip --version
pip list
Expand Down
2 changes: 1 addition & 1 deletion tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1085,4 +1085,4 @@
"outputs": []
}
]
}
}

0 comments on commit 34b859a

Please sign in to comment.