Comments (4)
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.
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.
Thx for the reply.
This is the output:
/home/jaiczay/.local/lib/python3.7/site-packages/tensorflow/include
from attention-sampling.
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
andnvidia-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 lineset(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)
- could you provide a pytorch implementation? HOT 8
- RuntimeError: Couldn't compile and install ats.ops.extract_patches.libpatches HOT 4
- file not found HOT 2
- Allow use of a patch generator HOT 5
- Offsets for extracting patches HOT 4
- Why using random sampling during inference and not pick instead the X patches with maximum attention? HOT 1
- C++ versions less than C++11 are not supported
- Suggestion of Environment (OS, package version, etc.) HOT 1
- Implementation of eq. 12 HOT 2
- Validation Accuracy Does not Change HOT 1
- MNIST noise overlaps signal
- CMake Error at patches_generated_extract_patches.cu.o.cmake:207 HOT 3
- expected_with_replacement
- Installation document no longer available
- Unable to install on Macbook pro HOT 4
- It's not learning HOT 2
- Extracting weird patches HOT 6
- Batch size for all the experiments in the papaer HOT 2
- What is the role of "receptive field"? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from attention-sampling.