Notice that what is happening there is you are loading a model and coefficients for FaceNet from files that were provided with the course, so they match the TF version of the course. So the problem is probably that the Keras APIs for loading pretrained models have changed in a way that is not backwards compatible. If you are not able to configure your environment (E.g. using pip or conda as described on this thread), then the other alternative is to find a pretrained FaceNet model from some other source. It looks like Keras does not provide FaceNet, but you can google “facenet pretrained model” and you’ll find lot of hits.
1 Like