Skip to content

Commit f578b48

Browse files
committed
fix issue
Signed-off-by: xadupre <[email protected]>
1 parent 0e83b27 commit f578b48

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/actions/keras_application_test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ runs:
5353
pip install transformers==4.2.0
5454
pip uninstall -y h5py
5555
pip install h5py==2.9.0
56-
pip install numpy==1.19.0
56+
pip install numpy==1.19.0 tensorflow==${{ inputs.tf_version }}
5757
else
5858
pip install transformers
5959
if [[ "${{ inputs.tf_version }}" != "2.13.0" && "${{ inputs.tf_version }}" != "2.9.0" ]]; then

.github/actions/keras_unit_test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232
pip install onnxruntime==${{ inputs.ort_version }}
3333
pip uninstall -y protobuf
3434
if [[ ${{ inputs.tf_version }} == 1.* ]]; then
35-
pip install numpy==1.19.0
35+
pip install numpy==1.19.0 tensorflow==${{ inputs.tf_version }}
3636
else
3737
if [[ "${{ inputs.tf_version }}" != "2.13.0" && "${{ inputs.tf_version }}" != "2.9.0" ]]; then
3838
echo "-- install-2 TF-KERAS ${{ inputs.tf_version }}"

tests/utils/setup_test_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pip uninstall -y tensorflow
2020
pip install onnx==$ONNX_VERSION onnxruntime==$ORT_VERSION onnxruntime-extensions
2121

2222
if [[ $TF_VERSION == 1.* ]]; then
23-
pip install numpy==1.19.0
23+
pip install numpy==1.19.0 tensorflow==$TF_VERSION
2424
else
2525
pip uninstall -y protobuf
2626
if [[ "$TF_VERSION" != "2.13.0" && "$TF_VERSION" != "2.9.0" ]]; then

0 commit comments

Comments
 (0)