mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 11:35:21 +00:00
[fix] name of model attributes inputs
This commit is contained in:
parent
a4b1b5d157
commit
b55cb31e45
@ -89,7 +89,7 @@ def load_model(
|
||||
|
||||
# --------------------------
|
||||
|
||||
age_model = Model(inputs=model.input, outputs=base_model_output)
|
||||
age_model = Model(inputs=model.inputs, outputs=base_model_output)
|
||||
|
||||
# --------------------------
|
||||
|
||||
|
@ -85,7 +85,7 @@ def load_model(
|
||||
|
||||
# --------------------------
|
||||
|
||||
gender_model = Model(inputs=model.input, outputs=base_model_output)
|
||||
gender_model = Model(inputs=model.inputs, outputs=base_model_output)
|
||||
|
||||
# --------------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user