上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: net.loss = caffe.layers.SoftmaxWithLoss(net.fc3, net.label) 输出: layer { name: "loss" type: "SoftmaxWithLoss" bottom: "fc3" bottom: "label" top: "loss" } 阅读全文
posted @ 2018-11-06 00:13 HOU_JUN 阅读(646) 评论(0) 推荐(0) 编辑
摘要: net.fc3 = caffe.layers.InnerProduct(net.pool1, num_output=1024, weight_filler=dict(type='xavier'), ... 阅读全文
posted @ 2018-11-06 00:10 HOU_JUN 阅读(462) 评论(0) 推荐(0) 编辑
摘要: net.mylrn = caffe.layers.LRN(net.pool1,local_size=5,alpha=1e-4,beta=0.75) 输出: layer { name: "mylrn" type: "LRN" bottom: "pool1" top: "lrn" lrn_param { local_size: 5 alpha: 9.999999... 阅读全文
posted @ 2018-11-06 00:07 HOU_JUN 阅读(339) 评论(0) 推荐(0) 编辑
摘要: net.pool1 = caffe.layers.Pooling(net.myconv, pool=caffe.params.Pooling.MAX, kernel_size=2, stride=2) 输出: layer { name: "pool1" type: "Pooling" bottom: "myconv" top: "pool1" pooling_param {... 阅读全文
posted @ 2018-11-06 00:04 HOU_JUN 阅读(317) 评论(0) 推荐(0) 编辑
摘要: import sys import os sys.path.append("/projects/caffe-ssd/python") import caffe net = caffe.NetSpec() net.data, net.label = caffe.layers.Data( name="InputData", source="train_lmdb", back... 阅读全文
posted @ 2018-11-06 00:01 HOU_JUN 阅读(800) 评论(0) 推荐(0) 编辑
摘要: 1、Convolution层: 就是卷积层,是卷积神经网络(CNN)的核心层。 层类型:Convolution lr_mult: 学习率的系数,最终的学习率是这个数乘以solver.prototxt配置文件中的base_lr。如果有两个lr_mult, 则第一个表示权值的学习率,第二个表示偏置项的学 阅读全文
posted @ 2018-11-05 17:36 HOU_JUN 阅读(1764) 评论(0) 推荐(0) 编辑
摘要: 一、ImageData Layer 二、Data Layer (lmdb/leveldb) 三、HDF5Data Layer 阅读全文
posted @ 2018-11-05 16:22 HOU_JUN 阅读(1663) 评论(0) 推荐(0) 编辑
摘要: undefined reference to `inflateValidate@ZLIB_1.2.9' Makefile.config添加一行LINKFLAGS := -Wl,-rpath,$(HOME)/anaconda2/lib 阅读全文
posted @ 2018-11-01 09:22 HOU_JUN 阅读(1997) 评论(0) 推荐(0) 编辑
摘要: CXX/LD -o .build_release/tools/convert_imageset.bin.build_release/lib/libcaffe.so: undefined reference to `cv::VideoCapture::set(int, double)'.build_r 阅读全文
posted @ 2018-10-31 20:58 HOU_JUN 阅读(2935) 评论(0) 推荐(1) 编辑
摘要: NVCC src/caffe/layers/reduction_layer.cunvcc fatal : Unsupported gpu architecture 'compute_20'Makefile:588: recipe for target '.build_release/cuda/src 阅读全文
posted @ 2018-10-31 20:52 HOU_JUN 阅读(5022) 评论(0) 推荐(0) 编辑
摘要: pattern@pattern89:/raid0/workspace/houjun/caffe-ssd$ sudo make all -j8PROTOC src/caffe/proto/caffe.protoCXX src/caffe/layers/softmax_loss_layer.cppCXX 阅读全文
posted @ 2018-10-31 20:48 HOU_JUN 阅读(4070) 评论(0) 推荐(0) 编辑
摘要: #coding=utf-8 import os import cv2 from xml.dom.minidom import Document def create_xml(boxes_dict,target_xml_dir): file_name = boxes_dict["filename"] fname = file_name.split('.')[0] box... 阅读全文
posted @ 2018-10-25 11:20 HOU_JUN 阅读(1435) 评论(0) 推荐(0) 编辑
摘要: 其中,file_path是标注文件的路径。标注文件内容如下: 其中,第一行为图片路径,第二行为框的数量,紧接着是框。 以此类推。详见Widerface README.md文件。 source_dir为存储图片的根目录。 target_dir为画框过后的图片的存储路径。 阅读全文
posted @ 2018-10-25 09:31 HOU_JUN 阅读(2866) 评论(0) 推荐(0) 编辑
摘要: The goal of this repo is: to help to reproduce research papers results (transfer learning setups for instance), to access pretrained ConvNets with a u 阅读全文
posted @ 2018-10-20 16:10 HOU_JUN 阅读(4210) 评论(0) 推荐(0) 编辑
摘要: from caffe.proto import caffe_pb2 s = caffe_pb2.SolverParameter() path='/home/xxx/data/' solver_file=path+'solver.prototxt' #solver文件保存位置 s.train_net = path+'train.prototxt' # 训练配置文件 s.tes... 阅读全文
posted @ 2018-10-20 00:22 HOU_JUN 阅读(297) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页