详见 https://github.com/weiliu89/caffe/tree/ssd
-
Get the code. We will call the directory that you cloned Caffe into
$CAFFE_ROOTgit clone https://github.com/weiliu89/caffe.git cd caffe git checkout ssd -
Build the code. Please follow Caffe instruction to install all necessary packages and build it.
# Modify Makefile.config according to your Caffe installation. cp Makefile.config.example Makefile.config make -j8 # Make sure to include $CAFFE_ROOT/python to your PYTHONPATH. make py make test -j8 make runtest -j8 # If you have multiple GPUs installed in your machine, make runtest might fail. If so, try following: export CUDA_VISIBLE_DEVICES=0; make runtest -j8 # If you have error: "Check failed: error == cudaSuccess (10 vs. 0) invalid device ordinal", # first make sure you have the specified GPUs, or try following if you have multiple GPUs: unset CUDA_VISIBLE_DEVICES
本文档详细介绍了如何从GitHub获取并安装配置带有SSD分支的目标检测框架Caffe。主要内容包括:克隆Caffe仓库到本地指定目录、切换到SSD分支、安装必要的依赖包、编译Caffe源码等步骤。
4726

被折叠的 条评论
为什么被折叠?



