caffe --- mistakes
2016-03-30 21:03
323 查看
1. Check failed: img_height == data_mean_.height() (224 vs. 256)
layer {
name: "data"
type: "ImageData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
mirror: true
crop_size: 224
mean_file: "mean_sub.binaryproto" # 256
}
image_data_param {
source: "triplet_sampled_train.txt" # 加路径名
batch_size: 100
new_height: 256 # It will also resize images
new_width: 256
shuffle: true # 每个epoch shuffle
pair_size: 2
}
}
2. mean
name.mean(1).mean(1) #是一个三个元素的数组, 每个通道一个值... name shape eg. 3X256X256
layer {
name: "data"
type: "ImageData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
mirror: true
crop_size: 224
mean_file: "mean_sub.binaryproto" # 256
}
image_data_param {
source: "triplet_sampled_train.txt" # 加路径名
batch_size: 100
new_height: 256 # It will also resize images
new_width: 256
shuffle: true # 每个epoch shuffle
pair_size: 2
}
}
2. mean
name.mean(1).mean(1) #是一个三个元素的数组, 每个通道一个值... name shape eg. 3X256X256
相关文章推荐
- HTML+CSS基础篇(五)——十天精通CSS
- DOM操作,javascript动态生成表格
- CSS选择器大全
- angularjs学习5--过滤器(二)
- html5 圆角ie8
- js初学笔记(三)
- css之calc();
- 【JavaScript】基础知识整理(三)
- 实用代码片段--Javascript
- css如何控制div完全居中
- 拆分字符串,GetHtmlByWebBrowser,UnicodeToMBCS,提升进程权限
- Html5之高级-13 Web存储API (两个存储系统、sessionStorage、localStorage)
- js 返回前一页并刷新页面方法
- JSF学习四 标签
- css 只改变父元素的透明度,不改变子元素透明度rgba+opacity
- javascript之原型和原型链
- jQueryMobile(一)
- NodeJS测试实例
- 网易前端实习生笔试最后一题ajax实现文件上传带进度条
- jQuery中的综合动画