In the Face Recognition assignment, we load a pre-trained FaceNet model implementation and then use it to get the image encodings of faces.
Can someone help me understand how the triplet loss is implemented here?
As far as I understand, unless the pre-trained model is trained after compiling by doing model.fit(), nothing will change, even if we have run model.compile()?
How does running model.compile() with different losses change the already pre-trained model?
Thanks