纠错
Sherry_up
像爱运动一样爱学习~~
展开
-
纠错: 深度学习模型优化时快速收敛
最近在做问答系统,用CNN深度学习模型分别对问题、正答案和负答案提取特征,得到各自的特征向量。正答案与问题之间的距离比负答案与问题之间的距离要近,距离用夹角的cos值来表示,目标函数是由此确定的。模型出自《Applying Deep Learning To Answer Selection: A Study And An Open Task》,如图1所示。原创 2016-07-22 16:58:38 · 7545 阅读 · 2 评论 -
How to convert a list of tensors into a tensor
Convert a list of tensors into a tensor using the method of tf.convert_to_tensor or tf.pack().原创 2016-08-10 11:04:36 · 4643 阅读 · 0 评论 -
Average loss decreases with batches increasing
用Tensorflow训练深度学习网络时,average loss for each batch会随着batch size 大小而成反比的变化,本来是该保持稳定的。经过一系列的检查,找到了原因:在使用Tensorflow API的时候,落了一个参数。 错误的代码如下,tf.reduce_sum(var, index), index表示要减少的维度,如果为none的话,方法会把所有的元素相加。正确的原创 2016-08-22 17:09:29 · 1064 阅读 · 0 评论 -
纠错: git push error “fatal: Unable to find remote helper for 'https'"
git push error “fatal: Unable to find remote helper for ‘https’”原创 2016-09-07 22:13:51 · 776 阅读 · 0 评论