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 3434 "absl_py" ,
3535 "wheel" ,
3636 "wurlitzer" ,
37- "tf_keras" ,
37+ "tf_keras~=2.16.0rc2 " ,
3838]
3939
4040
Original file line number Diff line number Diff line change 5454__version__ = "1.9.0rc0"
5555__author__ = "Mathieu Guillame-Bert"
5656
57- compatible_tf_versions = ["2.16.0rc0 " ]
57+ compatible_tf_versions = ["2.16.0-rc0 " ]
5858__git_version__ = "HEAD" # Modify for release build.
5959
6060from 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
5959 TF_MINOR=" nightly"
6060else
6161 ${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
6468fi
6569ext=" "
6670
You can’t perform that action at this time.
0 commit comments