flownet2-tf
flownet2-tf copied to clipboard
fatal error: nsync_cv.h: No such file or directory
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 src/ops/preprocessing/kernels/data_augmentation.cu.cc -x cu -Xcompiler -fPIC -o src/ops/build/data_augmentation.o
/home/lpc/anaconda2/lib/python2.7/site-packages/h5py/init.py:34: 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
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /home/lpc/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/platform/mutex.h:31:0,
from /home/lpc/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/variant.h:31,
from /home/lpc/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/allocator.h:26,
from /home/lpc/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/op_kernel.h:23,
from src/ops/preprocessing/kernels/data_augmentation.h:4,
from src/ops/preprocessing/kernels/data_augmentation.cu.cc:6:
/home/lpc/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/platform/default/mutex.h:25:22: fatal error: nsync_cv.h: No such file or directory
compilation terminated.
make: *** [preprocessing] Error 1
Did you fix this? I meet the same problem like yous.
nsync_cv.h
should be in $TF_INC/external/nsync/public
. You can manually include it.
For reference: https://github.com/tensorflow/tensorflow/issues/12482
Thanks,I fixed it by using tensorflow-1.2.1.