Skip to content

Commit

Permalink
Corrected loss function name
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsandberg committed Jan 19, 2017
1 parent f5ba23e commit 5df52a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/center_loss_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def testCenterLoss(self):
labels = tf.placeholder(tf.int32, shape=(batch_size,), name='labels')

# Define center loss
center_loss, centers = facenet.center_loss_new(features, labels, alfa, nrof_classes)
center_loss, centers = facenet.center_loss(features, labels, alfa, nrof_classes)

label_to_center = np.array( [
[-3,-3], [-3,-1], [-3,1], [-3,3],
Expand Down

0 comments on commit 5df52a3

Please sign in to comment.