mirror of
https://github.com/deepinsight/insightface.git
synced 2026-05-19 15:41:33 +00:00
triplet fix
This commit is contained in:
@@ -484,7 +484,7 @@ def train_net(args):
|
||||
label_names = (label_name,),
|
||||
)
|
||||
|
||||
if len(data_dir_list)==1:
|
||||
if len(data_dir_list)==1 and args.loss_type!=12:
|
||||
train_dataiter = FaceImageIter(
|
||||
batch_size = args.batch_size,
|
||||
data_shape = data_shape,
|
||||
|
||||
Reference in New Issue
Block a user