mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 03:55:21 +00:00
[fix] line too long
This commit is contained in:
parent
b55cb31e45
commit
29c818d61e
@ -64,7 +64,9 @@ class ApparentAgeClient(Demography):
|
|||||||
imgs_ = np.expand_dims(imgs_, axis=0)
|
imgs_ = np.expand_dims(imgs_, axis=0)
|
||||||
# Batch prediction
|
# Batch prediction
|
||||||
age_predictions = self.model.predict_on_batch(imgs_)
|
age_predictions = self.model.predict_on_batch(imgs_)
|
||||||
apparent_ages = np.array([find_apparent_age(age_prediction) for age_prediction in age_predictions])
|
apparent_ages = np.array(
|
||||||
|
[find_apparent_age(age_prediction) for age_prediction in age_predictions]
|
||||||
|
)
|
||||||
return apparent_ages
|
return apparent_ages
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user