File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
tensorflow_decision_forests Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 34
34
"absl_py" ,
35
35
"wheel" ,
36
36
"wurlitzer" ,
37
- "tf_keras" ,
37
+ "tf_keras~=2.16.0rc2 " ,
38
38
]
39
39
40
40
Original file line number Diff line number Diff line change 54
54
__version__ = "1.9.0rc0"
55
55
__author__ = "Mathieu Guillame-Bert"
56
56
57
- compatible_tf_versions = ["2.16.0rc0 " ]
57
+ compatible_tf_versions = ["2.16.0-rc0 " ]
58
58
__git_version__ = "HEAD" # Modify for release build.
59
59
60
60
from tensorflow_decision_forests .tensorflow import check_version
Original file line number Diff line number Diff line change @@ -59,8 +59,12 @@ if [ ${TF_VERSION} == "nightly" ]; then
59
59
TF_MINOR=" nightly"
60
60
else
61
61
${PYTHON} -m pip install tensorflow==${TF_VERSION} --force-reinstall
62
- TF_MINOR=$( echo $TF_VERSION | grep -oP ' [0-9]+\.[0-9]+' )
63
- ${PYTHON} -m pip install tf-keras==${TF_MINOR} --force-reinstall
62
+ if [[ $TF_VERSION == * " rc" * ]]; then
63
+ ${PYTHON} -m pip install tf-keras --pre --upgrade
64
+ else
65
+ TF_MINOR=$( echo $TF_VERSION | grep -oP ' [0-9]+\.[0-9]+' )
66
+ ${PYTHON} -m pip install tf-keras==${TF_MINOR}
67
+ fi
64
68
fi
65
69
ext=" "
66
70
You can’t perform that action at this time.
0 commit comments