File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ conda config --add channels conda-forge
8
8
conda create --yes -n tensorflow python==$PYTHON_VERSION
9
9
source activate tensorflow
10
10
conda install --yes numpy wheel bazel==$BAZEL_VERSION
11
+ conda install --yes git
11
12
pip install keras-applications keras-preprocessing
12
13
13
14
# Compile TensorFlow
@@ -18,11 +19,10 @@ pip install keras-applications keras-preprocessing
18
19
19
20
cd /
20
21
rm -fr tensorflow/
21
- git clone --depth 1 " https://github.com/tensorflow/tensorflow.git"
22
+ git clone --depth 1 --branch $TF_VERSION_GIT_TAG " https://github.com/tensorflow/tensorflow.git"
22
23
23
24
TF_ROOT=/tensorflow
24
25
cd $TF_ROOT
25
- git checkout $TF_VERSION_GIT_TAG
26
26
27
27
# Python path options
28
28
export PYTHON_BIN_PATH=$( which python)
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ conda config --add channels conda-forge
8
8
conda create --yes -n tensorflow python==$PYTHON_VERSION
9
9
source activate tensorflow
10
10
conda install --yes numpy wheel bazel==$BAZEL_VERSION
11
+ conda install --yes git
11
12
pip install keras-applications keras-preprocessing
12
13
13
14
# Compile TensorFlow
You can’t perform that action at this time.
0 commit comments