bojone / Capsule

A Capsule Implement with Pure Keras
350 stars 108 forks source link

capsule 类中的b没有更新 #8

Closed tw19941212 closed 5 years ago

tw19941212 commented 5 years ago

b = K.batch_dot(o, u_hat_vecs, [2, 3]) 应该是 b += K.batch_dot(o, u_hat_vecs, [2, 3])

tw19941212 commented 5 years ago

噢我看了博客,那请问你有没有做相关比较最终俩者的性能差异呢

bojone commented 5 years ago

纠正一个说法,b = K.batch_dot(o, u_hat_vecs, [2, 3])就是一种更新,为什么说它没有更新?

至少在我的实验中,原版动态路由,效果远没有我修改后的版本好(我修改了好几处,并不只是这一处)

tw19941212 commented 5 years ago

@bojone 看了三篇文章,佩服