File tree 2 files changed +4
-0
lines changed
.github/actions/unit_test
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 46
46
export TF2ONNX_SKIP_TFLITE_TESTS=${{ inputs.skip_tflite }}
47
47
export TF2ONNX_SKIP_TFJS_TESTS=True
48
48
export TF2ONNX_SKIP_TF_TESTS=False
49
+ export TF_USE_LEGACY_KERAS=True
49
50
python -m pytest --cov=tf2onnx --cov-report=term --disable-pytest-warnings -r s tests --cov-append --junitxml=junit/test-results.xml
50
51
ls
51
52
58
59
set TF2ONNX_SKIP_TFLITE_TESTS=${{ inputs.skip_tflite }}
59
60
set TF2ONNX_SKIP_TFJS_TESTS=True
60
61
set TF2ONNX_SKIP_TF_TESTS=False
62
+ set TF_USE_LEGACY_KERAS=True
61
63
python -m pytest --cov=tf2onnx --cov-report=term --disable-pytest-warnings -r s tests --cov-append --junitxml=junit/test-results.xml
62
64
ls
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ pip install tensorflow==$TF_VERSION
28
28
pip uninstall -y protobuf
29
29
pip install " protobuf~=3.20"
30
30
31
+ pip install tf_keras
32
+
31
33
python setup.py install
32
34
33
35
echo " ----- List all of depdencies:"
You can’t perform that action at this time.
0 commit comments