- 博客(3)
- 资源 (11)
- 收藏
- 关注
原创 tripletLoss,训练,网络配置
网络定义中的使用类似softmaxlosslayer,最后两层对应修改举例如下: #======================softmax==================== # layer { # name: "fc9" # type: "InnerProduct" # bottom: "fc7" # top: "fc9" # param { # lr_m
2017-08-03 14:08:42
2949
原创 L2范式归一化,GPU实现,根据网上CPU实现写的
头文件:根据网络资源稍作调整 norm_layer.hpp #ifndef CAFFE_NORM_LAYER_HPP_ #define CAFFE_NORM_LAYER_HPP_ #include #include "caffe/blob.hpp" #include "caffe/layer.hpp" #include "caffe/proto/caffe.
2016-10-13 11:28:50
982
原创 triplet_sample_layer的实现
http://blog.youkuaiyun.com/tangwei2014/article/details/46812153 博客中写了triplet_loss_layer的详细实现过程。但是,很多人(包括我)留言,不知道怎么用?不知道三元组怎么组装? 后来索性仿照网上一个python的实现思路,自己在前面加了一层triplet_sample_layer作为接口的过渡。现分享给大家。 功能
2016-09-09 10:29:21
1978
5
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人