Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
amutu committed Jul 19, 2017
2 parents d890621 + 264e96f commit d64c85d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@

## usage:

* make sure the depends updated
> such as bazel >= 0.5.0, python >= 2.7 and numpy installed.
* download src
> tensorflow src [tensorflow](https://github.com/tensorflow/tensorflow/releases) and offline third party package [tensorflow_third_party](https://github.com/amutu/tensorflow_third_party/release) and extract. The extracted directories are $tf and $tp, and must be absolute path.
> tensorflow src [tensorflow](https://github.com/tensorflow/tensorflow/releases) and offline third party package [tensorflow_third_party](https://github.com/amutu/tensorflow_third_party/releases) and extract. The extracted directories are $tf and $tp, and must be absolute path.
* fix the build,do as
> git clone https://github.com/amutu/tensorflow-offline.git
> cd tensorflow-offline
> git submodule update
> ./fix_offline_build.sh $tf $tp
* do the build
Expand All @@ -16,4 +20,4 @@
> bazel-bin/tensorflow/tools/pip_package/build_pip_package
* note:
test tensorflow-1.1.0 on FreeBSD without CUDA,openCL,XLA support.Linux or other Unix should work too.
test tensorflow-1.2.0 on FreeBSD without CUDA,openCL,XLA support.Linux or other Unix should work too.

0 comments on commit d64c85d

Please sign in to comment.