liyemei / caffe-segnet

Semantic Segmentation ;windows vs2013 python2.7 matlab2014以上 添加upsample 、BN层、CPM层。,添加Segnet-C++、python接口测试demo 编译方法同微软caffe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

windows vs2013 python2.7 matlab2014以上
添加upsample 、BN层。支持Segnet,添加Segnet-C++、python接口demo
打开windows-Caffe.sln编译即可,其他编译问题同微软官方caffe步骤
添加了cpm层,输入层数据可以旋转变换

使用方法参考:https://github.com/CMU-Perceptual-Computing-Lab/caffe_train

这个没有DenseImageDataLayer,不过可以如下代替:
data 和label分开输入
layer {
name: "data"
type: "Data"
top:"data"
include {
phase: TRAIN
}
transform_param {
mean_file: "G:/interest_of_imags_for_recognation/VOC2012/Resize224/Img_train_mean.binaryproto"
}
data_param {
source: "G:/interest_of_imags_for_recognation/VOC2012/Resize224/Img_train"
batch_size: 1
backend: LMDB
}
}
layer {
name: "label"
type: "Data"
top:"label"
include {
phase: TRAIN
}
data_param {
source: "G:/interest_of_imags_for_recognation/VOC2012/Resize224/Label_train"
batch_size: 1
backend: LMDB
}
}
layer {
name: "data"
type: "Data"
top: "data"
include {
phase: TEST
}
transform_param {
mean_file: "G:/interest_of_imags_for_recognation/VOC2012/Resize224/Img_val_mean.binaryproto"
}
data_param {
source: "G:/interest_of_imags_for_recognation/VOC2012/Resize224/Img_val"
batch_size: 1
backend: LMDB
}
}
layer {
name: "label"
type: "Data"
top: "label"
include {
phase: TEST
}
data_param {
source: "G:/interest_of_imags_for_recognation/VOC2012/Resize224/Label_val"
batch_size: 1
backend: LMDB
}
}

这里上传一个简化版本的训练测试工程,解压后放在D盘即可,训练在C++训练。
链接:http://pan.baidu.com/s/1skY2wwd 密码:kxdx

copyright @Qingsong Liu

 测试框架,解压可以编译使用 链接:http://pan.baidu.com/s/1slWGABF 密码:ld2x

About

Semantic Segmentation ;windows vs2013 python2.7 matlab2014以上 添加upsample 、BN层、CPM层。,添加Segnet-C++、python接口测试demo 编译方法同微软caffe

License:Other


Languages

Language:C++ 79.1%Language:Python 7.8%Language:Cuda 6.5%Language:CMake 2.6%Language:Protocol Buffer 1.7%Language:MATLAB 1.3%Language:Makefile 0.7%Language:Shell 0.4%Language:Batchfile 0.1%Language:C 0.0%Language:PowerShell 0.0%Language:M 0.0%