DataScience 板


LINE

由於自己是刚开始学习,所以会上 Kaggle 看一下人家分享的 Kernel 来试着跟着做看看 最近在看的是 Humpback Whale Identification 里面大多数都用 SNN 作为模型, 并且都以 http://bit.ly/2y0F1o7 为 pre-training model 下去做修正 这个 model 我看了很久,但在 head model 的部分有点困惑 ( 基本上看不太懂他写什麽@@ ) 作者认为原始 SNN 利用距离来计算 Loss 有几个问题 : 1. A distance measure will consider two features with value zero as a perfect match, while two features with large but slightly different values will be seen as good, but not quite as good since they are not exactly equal. Still, I feel there is more postive signal in the active features than in the negative ones, especially with ReLU (Rectified Linear Unit) activation, concept that is lost by the distance measure. 2. Also, a distance measure does not provide for features to be negatively correlated. Consider a case where, if both images have feature X, they must be the same whale, unless they also both have feature Y, in which case X is not as clear. 3. At the same time, there is this implicit assumption that swapping the two images must produce the same result: if A is the same whale as B, B must be the same whale as A. 基於以上三点理由,作者将 两个 branch model 输出的特徵向量x,y 变成四个向量 x+y,|x-y|,xy,(x-y)^2 然後再通过两个 卷积层 作者宣称 这样可以 learn how to weigh between matching zeros and close non-zero values ========= 我大概有几个问题 : 1. 原本以距离作为 loss 的方式,作者认为会有问题的其中第一跟第二项是什麽意思? 2. 为什麽要将两个 output vectors 做运算形成四个 vectors ? 又为什麽这样可以解决上述三个问题 ? 想请大家指点一下,在此先感谢大家~~ --



※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 1.171.69.123 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/DataScience/M.1563818507.A.207.html
1F:推 sxy67230: 作者在comments 有举例子,你可以看一下,他举例同一个 07/23 16:10
2F:→ sxy67230: 人鼻子长疹子跟没有算不算同一人,但是我觉得这个距离计 07/23 16:10
3F:→ sxy67230: 算的公式也不是绝对的。 07/23 16:10
4F:推 sxy67230: 简单来说作者就是把他四个的距离公式去摊开,在做reshap 07/23 16:14
5F:→ sxy67230: e後,抽出主要的距离特徵,这样确实是有办法对次要特徵 07/23 16:14
6F:→ sxy67230: 做惩罚。 07/23 16:14







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:Gossiping站内搜寻

TOP