Skip to content

Commit c27e246

Browse files
committed
fix script
Signed-off-by: xadupre <[email protected]>
1 parent 4a6b320 commit c27e246

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/actions/keras_application_test/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ runs:
5555
pip install numpy==1.19.0
5656
else
5757
pip install transformers
58-
if [[ "${{ inputs.tf_version }}" != "2.13" && "${{ inputs.tf_version }}" != "2.9" ]]; then
58+
if [[ "${{ inputs.tf_version }}" != "2.13" && "${{ inputs.tf_version }}" != "2.9" ]]; then
59+
echo "-- install-1 TF-KERAS ${{ inputs.tf_version }}"
5960
pip install tf_keras==${{ inputs.tf_version }} tensorflow==${{ inputs.tf_version }}
6061
else
62+
echo "-- install-1 TF ${{ inputs.tf_version }}"
6163
pip install "protobuf<3.20" tensorflow==${{ inputs.tf_version }}
6264
fi
6365
fi

.github/actions/keras_unit_test/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ runs:
3535
pip install numpy==1.19.0
3636
else
3737
if [[ "${{ inputs.tf_version }}" != "2.13" && "${{ inputs.tf_version }}" != "2.9" ]]; then
38+
echo "-- install-2 TF-KERAS ${{ inputs.tf_version }}"
3839
pip install tf_keras==${{ inputs.tf_version }} tensorflow==${{ inputs.tf_version }}
3940
else
41+
echo "-- install-2 TF ${{ inputs.tf_version }}"
4042
pip install "protobuf<3.20" tensorflow==${{ inputs.tf_version }}
4143
fi
4244
fi

tests/utils/setup_test_env.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ if [[ $TF_VERSION == 1.* ]]; then
2323
pip install numpy==1.19.0
2424
else
2525
if [[ "$TF_VERSION" != "2.13" && "$TF_VERSION" != "2.9" ]]; then
26+
echo "-- install-3 TF-KERAS ${{ inputs.tf_version }}"
2627
pip install tf_keras==$TF_VERSION
28+
else
29+
echo "-- install-3 TF ${{ inputs.tf_version }}"
2730
fi
2831
fi
2932

0 commit comments

Comments
 (0)