我是编译caffe 例子make runtest时报的错:
1 if you're using the GPU instance on AWS, then please change the architecture setting into:
# CUDA architecture setting: going with all of them.
# For CUDA < 6.0, comment the *_50 lines for compatibility.
CUDA_ARCH := -gencode arch=compute_30,code=sm_30 \
-gencode arch=compute_50,code=sm_50 \
-gencode arch=compute_50,code=compute_50
Because the GPU in AWS does not support compute_35
2 I changed sm_35 into sm_30 in lib/setup.py file
3 cd lib, remove these files: utils/bbox.c nms/cpu_nms.c nms/gpu_nms.cpp, if they exist.
And then make && cd ../caffe/ && make clean && make -j8 && make pycaffe -j8
还有别的情况:
运行faster-rcnn做测试时可能出现的错误
google找到了答案,是nms的问题,设置nms不使用gpu即可,但是为什么这样还不是很清楚。
解决:
in $FCN_ROOT/lib/fast_rcnn/config.py
set __C.USE_GPU_NMS = False
1 if you're using the GPU instance on AWS, then please change the architecture setting into:
# CUDA architecture setting: going with all of them.
# For CUDA < 6.0, comment the *_50 lines for compatibility.
CUDA_ARCH := -gencode arch=compute_30,code=sm_30 \
-gencode arch=compute_50,code=sm_50 \
-gencode arch=compute_50,code=compute_50
Because the GPU in AWS does not support compute_35
2 I changed sm_35 into sm_30 in lib/setup.py file
3 cd lib, remove these files: utils/bbox.c nms/cpu_nms.c nms/gpu_nms.cpp, if they exist.
And then make && cd ../caffe/ && make clean && make -j8 && make pycaffe -j8
还有别的情况:
运行faster-rcnn做测试时可能出现的错误
google找到了答案,是nms的问题,设置nms不使用gpu即可,但是为什么这样还不是很清楚。
解决:
in $FCN_ROOT/lib/fast_rcnn/config.py
set __C.USE_GPU_NMS = False