mirror of
https://github.com/deepinsight/insightface.git
synced 2026-05-22 17:47:49 +00:00
fix
This commit is contained in:
@@ -937,7 +937,7 @@ def train_net(args):
|
||||
def ver_test(nbatch):
|
||||
results = []
|
||||
for i in xrange(len(ver_list)):
|
||||
acc1, std1, acc2, std2, xnorm, embeddings_list = verification.test(ver_list[i], model, args.batch_size, data_extra, label_shape)
|
||||
acc1, std1, acc2, std2, xnorm, embeddings_list = verification.test(ver_list[i], model, args.batch_size, 10, data_extra, label_shape)
|
||||
print('[%s][%d]XNorm: %f' % (ver_name_list[i], nbatch, xnorm))
|
||||
#print('[%s][%d]Accuracy: %1.5f+-%1.5f' % (ver_name_list[i], nbatch, acc1, std1))
|
||||
print('[%s][%d]Accuracy-Flip: %1.5f+-%1.5f' % (ver_name_list[i], nbatch, acc2, std2))
|
||||
|
||||
Reference in New Issue
Block a user