diff --git a/deepface/modules/demography.py b/deepface/modules/demography.py index b9991d9..2258c1e 100644 --- a/deepface/modules/demography.py +++ b/deepface/modules/demography.py @@ -175,7 +175,6 @@ def analyze( task="facial_attribute", model_name="Age" ).predict(img_content) # int cast is for exception - object of type 'float32' is not JSON serializable - print(apparent_age.shape) obj["age"] = int(apparent_age) elif action == "gender":