ubuntu 18.04安装caffe(gpu)

/home/wuchangwen/pytorch/caffe2/operators/given_tensor_byte_string_to_uint8_fill_op.h: In member function ‘void caffe2::GivenTensorByteStringToUInt8FillOp<Context>::Extract()’:
/home/wuchangwen/pytorch/caffe2/operators/given_tensor_byte_string_to_uint8_fill_op.h:52:51: error: ‘GetRepeatedArgument<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >’ is not a member of ‘caffe2::GivenTensorByteStringToUInt8FillOp<Context>’
     auto source_values = OperatorBase::GetRepeatedArgument<string>("values");
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                               
CMake Error at caffe2_gpu_generated_given_tensor_byte_string_to_uint8_fill_op.cu.o.Release.cmake:279 (message):
  Error generating file
  /home/wuchangwen/pytorch/build/caffe2/CMakeFiles/caffe2_gpu.dir/operators/./caffe2_gpu_generated_given_tensor_byte_string_to_uint8_fill_op.cu.o


caffe2/CMakeFiles/caffe2_gpu.dir/build.make:1554: recipe for target 'caffe2/CMakeFiles/caffe2_gpu.dir/operators/caffe2_gpu_generated_given_tensor_byte_string_to_uint8_fill_op.cu.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/operators/caffe2_gpu_generated_given_tensor_byte_string_to_uint8_fill_op.cu.o] Error 1
make[2]: *** 正在等待未完成的任务....
CMakeFiles/Makefile2:1476: recipe for target 'caffe2/CMakeFiles/caffe2_gpu.dir/all' failed
make[1]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Failed to run 'bash ../tools/build_pytorch_libs.sh --use-cuda --use-nnpack --full-caffe2 nccl caffe2 nanopb libshm gloo THD c10d'
 
nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Tue_Jun_12_23:07:04_CDT_2018
Cuda compilation tools, release 9.2, V9.2.148

求帮助!
 
 
已邀请:

wuchangwen - 90后机器视觉

赞同来自:

沉了么。。。?
自顶,有人遇到过一样的情况吗?或者能解决这个问题?

hbzhappy

赞同来自:

楼主解决了吗?遇到了差不多的问题Failed to run 'bash ../tools/build_pytorch_libs.sh --use-cuda --use-nnpack caffe2 libshm gloo c10d THD'

要回复问题请先登录注册