TensorFlow_Center_Loss icon indicating copy to clipboard operation
TensorFlow_Center_Loss copied to clipboard

confused with gradients of center loss

Open Siqing1996 opened this issue 5 years ago • 0 comments

  1. diff = diff / tf.cast((1 + appear_times), tf.float32)
  2. diff = alpha * diff
  3. centers_update_op = tf.scatter_sub(centers, labels, diff) 您好,有个疑问,第一行代码,根据论文中给的公式应该是 diff = (diff * appear_times)/ tf.cast((1 + appear_times), tf.float32)?

Siqing1996 avatar Aug 21 '20 11:08 Siqing1996