Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to compile #2

Open
akonstantinou opened this issue Apr 24, 2018 · 4 comments
Open

Error when trying to compile #2

akonstantinou opened this issue Apr 24, 2018 · 4 comments

Comments

@akonstantinou
Copy link

akonstantinou commented Apr 24, 2018

This is what i get after i type "make all"

nvcc -g -std=c++11 -Ipython -c "import tensorflow; print(tensorflow.sysconfig.get_include())" -I"/usr/local/cuda-8.0/include" -DGOOGLE_CUDA=1 -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -D__STRICT_ANSI__ -D_GLIBCXX_USE_CXX11_ABI=0 -c -gencode=arch=compute_30,code=sm_30 FlowNet2_src/ops/preprocessing/kernels/data_augmentation.cu.cc -x cu -Xcompiler -fPIC -o FlowNet2_src/ops/build/data_augmentation.o
/home/user/virtualenvs/virtual3/lib/python3.5/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
In file included from /home/user/virtualenvs/virtual3/lib/python3.5/site-packages/tensorflow/include/tensorflow/core/platform/mutex.h:31:0,
from /home/user/virtualenvs/virtual3/lib/python3.5/site-packages/tensorflow/include/tensorflow/core/framework/variant.h:31,
from /home/user/virtualenvs/virtual3/lib/python3.5/site-packages/tensorflow/include/tensorflow/core/framework/allocator.h:26,
from /home/user/virtualenvs/virtual3/lib/python3.5/site-packages/tensorflow/include/tensorflow/core/framework/op_kernel.h:23,
from FlowNet2_src/ops/preprocessing/kernels/data_augmentation.h:4,
from FlowNet2_src/ops/preprocessing/kernels/data_augmentation.cu.cc:6:
/home/user/virtualenvs/virtual3/lib/python3.5/site-packages/tensorflow/include/tensorflow/core/platform/default/mutex.h:25:22: fatal error: nsync_cv.h: No such file or directory
compilation terminated.
Makefile:62: recipe for target 'preprocessing' failed
make: *** [preprocessing] Error 1

@Yuliang-Zou
Copy link
Member

Which TF version are you using?

And maybe you can check this

@Timthony
Copy link

同样错误,用的tensorflow1.4版本,make all出错

@Yuliang-Zou
Copy link
Member

@Timthony You need to use 1.2. We don't support other versions currently.

@Timthony
Copy link

@Timthony You need to use 1.2. We don't support other versions currently.

Why do the results run differently from yours?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants