amutu / tensorflow-offline Goto Github PK
View Code? Open in Web Editor NEWBuild tensorflow offline
Build tensorflow offline
the link to the $tp doesn't work, can you fix it? Thanks.
Hi, I successfully execute the first step, but when I execute the second step, i get the following error:
ERROR: /home/ec2-user/tensorflow-1.2.1/third_party/py/python_configure.bzl:285:20: unexpected keyword 'environ' in call to repository_rule(implementation: function, *, attrs: dict or NoneType = None, local: bool = False).
ERROR: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '': Extension file 'third_party/py/python_configure.bzl' has errors.
How to fix this?
Hello, first of all thank you for this, really helped me.
I still have one last question...
After running bazel-bin/tensorflow/tools/pip_package/build_pip_package, a .whl file is generated.
How can I install this manually without going through pip?
Thanks!
I am a beginner for bazel. And my server can not connect Internet, when I compile tensorflow.
Thanks your job, I get the dependences offline(I use 1.2.1 version), and successful get CPU version.
Now, I want to compile GPU version tensorflow.
I add something relation with CUDA in "./configure" step.
And run
bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
However, I get something wrong here:
ERROR: error loading package 'tensorflow/tools/pip_package': Rncountered error while reading extension file 'cuda/build_defs.bzl': no such package '@local_config_cuda//cuda':Traceback(most recent call last):
File “XX/tensorflow/tensorflow/third_party/gpus/cuda_configure.bzl”, line 958
_create_cuda_repository(repository_ctx)
File “XX/tensorflow/tensorflow/third_party/gpus/cuda_configure.bzl”, line 915, in _create_cuda_repository
_host_compiler_includes(repository_ctx, cc)
File “XX/tensorflow/tensorflow/third_party/gpus/cuda_configure.bzl”, line 144, in _host_compiler_includes
get_cxx_inc_directories(repository_ctx,cc)
File “XX/tensorflow/tensorflow/third_party/gpus/cuda_configure.bzl”, line 119, in get_cxx_inc_directories
set(includes_cpp)
depsets cannot contain mutable items
While, I found "local_config_cuda" and "@local_config_cuda.marker" in thensorflow_third_party-1.2.1 directory.
My Question
How to make brazel find "local_config_cuda" and "@local_config_cuda.marker" ?
Maybe, Brazel would going well, when find these two files.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.