Comments (3)
Yes this would resolve the problem:
cd `python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'`
cd tensorflow/stream_executor/cuda
curl -O https://raw.githubusercontent.com/tensorflow/tensorflow/master/third_party/toolchains/gpus/cuda/cuda/cuda_config.h
But I'm not sure if this is the best practice since it seems to be a hack.. For now it's enough.
@Zardinality well your modification for make.sh
in a0f9e94 it didn't resolve the problem entirely since you used both CUDA_HOME
and CUDA_PATH
in the script.
from tf_deformable_net.
Sorry for my neglection on the header stuff, last day in another repo someone file an issue about it, so I change README of it to add a reminder. But I forgot this repo. How I wish could get rid of this include! But I have to use cublas and allocate gpu memory in deform_conv.cc
.
If I am right, cuda_config.h
should be placed in $TF_INC/tensorflow/stream_executor/cuda
and the simplest method to repair it is to copy the header to this path in make.sh
. What do you think?
from tf_deformable_net.
I copied https://github.com/tensorflow/tensorflow/blob/master/third_party/toolchains/gpus/cuda/cuda/cuda_config.h to $ROOT_PYTHON/site-packages/tensorflow/include/cude/cuda_config.h. It works for me.
from tf_deformable_net.
Related Issues (20)
- Could you upgrade the lib to support tensorflow 1.4, cudnn 6.0 and cuda 8.0?
- any detail result accuracy about your result? HOT 1
- config.py paras problems HOT 1
- training problems HOT 1
- Is it compatible with cuda9.1 and cudnn7? HOT 6
- Batchsize issue HOT 1
- Offsets Subnet Details HOT 3
- Meaning of num_groups in offsets HOT 3
- How to use this on Windows
- Problems in installation HOT 5
- can it be used in g++4.8? HOT 2
- Can we add deformable convolution at different places?
- Testing problem HOT 2
- Compile Error HOT 12
- deform_conv.so: undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringB5cxx11Ev HOT 1
- Thoughts on training on Custom data
- Training error while running faster_rcnn/train_net.py HOT 2
- DCN V2
- compile error
- Error when executing command: make
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 tf_deformable_net.