源码网址

#一、图像分割
1、FCN cv15
https://github.com/shelhamer/fcn.berkeleyvision.org
可参考https://zhuanlan.zhihu.com/p/22976342知乎理解,解释详细
http://blog.csdn.net/supe_king/article/details/54142973训练
2、dilation
作者在 github 上提供了基于 caffe 的实现https://github.com/fyu/dilation
3、Fully Convolutional Instance-aware Semantic Segmentation (FCIS)
https://github.com/msracver/FCIS(基于mxnet)
4、deeplabv2
数据转换http://blog.csdn.net/zziahgf/article/details/72884878
安装配置http://blog.csdn.net/tianrolin/article/details/71246472 (2.2 , 2.2)
目录:
训练参考http://blog.csdn.net/Xmo_jiao/article/details/77488180
5、mx-maskrcnn
https://github.com/TuSimple/mx-maskrcnn

#二、目标检测
1、fast rcnn
https://github.com/rbgirshick/fast-rcnn
2、py-faster-rcnn (caffe)
https://github.com/rbgirshick/py-faster-rcnn
c++ https://github.com/galian123/cpp_faster_rcnn_detect
3、SSD(caffe)
https://github.com/weiliu89/caffe/tree/ssd

#三、
1、caffe
https://github.com/BVLC/caffe/tree/b590f1d27eb5cbd9bc7b9157d447706407c68682
2、resnet
https://github.com/KaimingHe/deep-residual-networks/tree/master
#四、数据集
1、VOC

wget http://host.robots.ox.ac.uk/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tar
wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtrainval_06-Nov-2007.tar
wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtest_06-Nov-2007.tar
# Extract the data.
tar -xvf VOCtrainval_11-May-2012.tar
tar -xvf VOCtrainval_06-Nov-2007.tar
tar -xvf VOCtest_06-Nov-2007.tar

五、安装caffe,没有root权限

Ubuntu
https://github.com/yosinski/caffe/blob/jason_public/doc/linux-no-root-install-log.md
protobuf 2.50
安装包https://github.com/google/protobuf/releases?after=v2.6.1
//snappy
http://pkgs.fedoraproject.org/repo/pkgs/snappy/
Install leveldb

git clone https://github.com/google/leveldb.git
[~/temp/leveldb-1.15.0] $ make
cd /home/gaomingda/caffe_dev/leveldb/out-shared/
$ cp -av libleveldb.* $HOME/local/lib/
cd /home/gaomingda/caffe_dev/leveldb/out-static/
$ cp -av libleveldb.* $HOME/local/lib/
[~/temp/leveldb-1.15.0] $ cp -av include/leveldb $HOME/local/include/

install hdf5
https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.14/src/

Install OpenBlas

$ cd ~/temp/
$ git clone git://github.com/xianyi/OpenBLAS
$ cd OpenBlas
$ make FC=gfortran
#显示没有安装gfortran 
$ make PREFIX=$HOME/local install
#安装gfortran,no-root
https://www.scivision.co/install-linuxbrew/

安装OpenCV3
conda install -c menpo opencv3=3.2.0
取消注释caffe/Makefile.config中
OPENCV_VERSION := 3
然后终端

export LD_LIBRARY_PATH=/home/hossein/anaconda2/lib:$LD_LIBRARY_PATH

或者
Instead of globally modifying LD_LIBRARY_PATH, we can add the following line to the Makefile.config (for example after the lines that define ANACONDA_HOME and PYTHON_INCLUDE [lines 76-79 I believe]):

LDFLAGS += -Wl,-rpath,$(ANACONDA_HOME)/lib
This will basically tell the Caffe library at runtime where to look for libraries

ImportError: No module named caffe.proto
可能原因:这种情况一般是没有把caffe中的和python相关的内容的路径添加到python的编译路径中。
解决办法:执行命令

export PYTHONPATH=$CAFFE_ROOT/python:$PYTHONPATH  

#在.100机子无权限编译

In file included from .build_release/src/caffe/proto/caffe.pb.cc:4:0:
.build_release/src/caffe/proto/caffe.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
 #error This file was generated by a newer version of protoc which is
  ^
.build_release/src/caffe/proto/caffe.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
 #error incompatible with your Protocol Buffer headers.  Please update
  ^
.build_release/src/caffe/proto/caffe.pb.h:14:2: error: #error your headers.
 #error your headers.

anaconda和local安装 的protobuf冲突

#查看版本
protoc --version
#尝试卸载anaconda的

conda uninstall protobuf
conda uninstall protobuf

#不好使
#conda安装protobuf-2.5
conda install -c stephentu protobuf
#安装指定版本
conda install -y --channel https://conda.anaconda.org/conda-forge
gflags
glog
numpy
protobuf=3.2.0
发现不是anaconda的问题,而是HOME/local必须安装protobuf-2.50 卸载,先进入安装包,然后make uninstall

sudo权限安装的https://www.howtoinstall.co/en/ubuntu/trusty/protobuf-compiler?action=remove

2、

/home/gaomingda/anaconda2/lib/libopencv_imgcodecs.so: undefined reference to `jpeg_stdio_dest@LIBJPEG_9.0'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/upgrade_net_proto_binary.bin' failed

参考http://write.blog.csdn.net/mdeditor#!postId=78480844 OpenCV3的安装

3、 在python中导入caffe时

from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \
ImportError: libglog.so.0: cannot open shared object file: No such file or directory

解决方案,将 加入

LD_LIBRARY_PATH=/home/gaomingda/local/lib:$LD_LIBRARY_PATH

#在服务器matplotlib不能显示,报错
参考https://www.cnblogs.com/xuanxufeng/p/6240659.html

#六、Ubuntu wget 正在连接 失败:拒绝连接
http://blog.csdn.net/asiawong/article/details/78558120


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值