我的电脑是CentOS系统,我尝试安装caffe 。安装一些依赖项后。我运行$make all
,然后返回以下警告:
NVCC src/caffe/solvers/sgd_solver.cu
NVCC src/caffe/solvers/rmsprop_solver.cu
NVCC src/caffe/solvers/adam_solver.cu
AR -o .build_release/lib/libcaffe.a
LD -o .build_release/lib/libcaffe.so
CXX tools/test_net.cpp
CXX/LD -o .build_release/tools/test_net.bin
/usr/bin/ld: warning: libcudart.so.5.5, needed by /usr/local/lib/libopencv_core.so, may conflict with libcudart.so.6.0
CXX tools/upgrade_net_proto_binary.cpp
CXX/LD -o .build_release/tools/upgrade_net_proto_binary.bin
/usr/bin/ld: warning: libcudart.so.5.5, needed by /usr/local/lib/libopencv_core.so, may conflict with libcudart.so.6.0
我查看了cuda的版本:$nvcc -V
,它返回:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2013 NVIDIA Corporation
Built on Wed_Jul_17_18:36:13_PDT_2013
Cuda compilation tools, release 5.5, V5.5.0
我输入 / usr / local ,它显示:
wathet blue cuda file,我输入 usr / local / cuda / lib ,其中有 libcudart.so.6.0 !但 libcudart.so.5.5 文件位于 /usr/local/cuda-5.5/lib 中。我不知道如何制作libcudart.so.5.5, needed by /usr/local/lib/libopencv_core.so
。那么如何解决这个问题?
答案 0 :(得分:1)
您的$scope.password_visible = "password";
$scope.password_glyphicon = "glyphicon glyphicon-eye-close";
if($scope.password_visible === "password"){
$scope.showPassword = function(){
$scope.password_visible = "text";
$scope.password_glyphicon = "glyphicon glyphicon-eye-open";
};
}else{
$scope.showPassword = function(){
$scope.password_visible = "password";
$scope.password_glyphicon = "glyphicon glyphicon-eye-close";
};
}
是使用cuda支持构建的,并且与cuda 5.5相关联。请尝试此命令以确保依赖项
opencv
...如果opencv依赖于cuda 5.5,请使用cuda 5.5构建你的caffe,或者你需要在你的机器上使用源代码构建opencv,它会自动找到cuda 6.0