In [6]:
# Training our model using the triplet_loss
FRmodel.compile(optimizer = 'adam', loss = triplet_loss, metrics = ['accuracy']) # load the optimizer
load_weights_from_FaceNet(FRmodel) # load the trained weight