mirror of
https://github.com/serengil/deepface.git
synced 2025-06-04 02:20:06 +00:00
commit
96a7b98f33
@ -161,6 +161,6 @@ def load_model(
|
||||
# base_model_output = Lambda(lambda x: K.l2_normalize(x, axis=1), name="norm_layer")(
|
||||
# base_model_output
|
||||
# )
|
||||
vgg_face_descriptor = Model(inputs=model.input, outputs=base_model_output)
|
||||
vgg_face_descriptor = Model(inputs=model.layers[0].input, outputs=base_model_output)
|
||||
|
||||
return vgg_face_descriptor
|
||||
|
Loading…
x
Reference in New Issue
Block a user