Giter VIP home page Giter VIP logo

tensorflow-offline's People

Contributors

amutu avatar nealepetrillo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tensorflow-offline's Issues

bazel build error

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?

Thank you

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!

@local_config_cuda//cuda not found

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.