Git Product home page Git Product logo

Comments (4)

angeloskath avatar angeloskath commented on July 28, 2024 1

Hi again,

I am struggling to reproduce the error, however because several people are having trouble compiling the tf extension. I will try to create precompiled binary distributions for both anaconda and PyPI by the end of the month.

For now, I would suggest

  • using tensorflow 1.13.1
  • making sure that you have
    • CMake installed
    • g++ installed
    • tensorflow installed

Let me know if you need anything more.

Cheers,
Angelos

from attention-sampling.

angeloskath avatar angeloskath commented on July 28, 2024

Hi,

Thanks a lot for the issue! Could you run the following to double-check what the error is?

python -c "import tensorflow as tf; print(tf.sysconfig.get_include(), end='')"

I will try to replicate the issue and have it fixed.

Cheers,
Angelos

from attention-sampling.

Jaiczay avatar Jaiczay commented on July 28, 2024

Thx for the reply.
This is the output:

/home/jaiczay/.local/lib/python3.7/site-packages/tensorflow/include

from attention-sampling.

lone17 avatar lone17 commented on July 28, 2024

I had the same problem and it f*ck me up for 2 days but i finally got a successful installation. The cause of this problem may vary and it looks like mine is different from yours, but here are some suggestions:

  • i'm using tf 1.13.1 and python 3.6.8 and cuda 10.0. based on my experience, i recommend you stick with python 3.6 instead of 3.7 when working with tf and cuda
  • make sure you can use tensorflow, i.e. be able to import tensorflow
  • if you are using tensorflow-gpu, make sure the cuda versions form nvcc --version and nvidia-smi are the same
  • try cloning the repo and build it manually, i.e. run python setup.py install. you might also want to add this line set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") to the start of attention-sampling/ats/ops/extract_patches/CMakeLists.txt, i add it at line 6.

best of luck !

from attention-sampling.

Related Issues (20)

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.