Skip to content

Commit 594065e

Browse files
authored
Speed up the download of tensorflow 1.12
1 parent 8c92b50 commit 594065e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/install-tf.1.12.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ export PATH=`pwd`/output:$PATH
2828
Firstly get the source code of the tensorflow
2929
```bash
3030
cd /some/workspace
31-
git clone https://github.com/tensorflow/tensorflow tensorflow
31+
git clone https://github.com/tensorflow/tensorflow tensorflow -b v1.12.0 --depth=1
3232
cd tensorflow
33-
git checkout v1.12.0
3433
```
3534

3635
DeePMD-kit is compiled by cmake, so we need to compile and integrate tensorflow with cmake projects. The rest of this section basically follows [the instruction provided by Tuatini](http://tuatini.me/building-tensorflow-as-a-standalone-project/). Now execute

0 commit comments

Comments
 (0)