triplet fix

This commit is contained in:
nttstar
2017-12-26 12:30:19 +08:00
parent 8f5461d74d
commit a4d2910742
2 changed files with 64 additions and 68 deletions

View File

@@ -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,