mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 19:45:21 +00:00
[update] modify comment for multi models
This commit is contained in:
parent
e668cd415e
commit
85e2d8d863
@ -28,7 +28,7 @@ class Demography(ABC):
|
|||||||
And switch to batch prediction if receives batched images.
|
And switch to batch prediction if receives batched images.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
img_batch: Batch of images as np.ndarray (n, 224, 224, 3), with n >= 1.
|
img_batch: Batch of images as np.ndarray (n, x, y, c), with n >= 1, x = image width, y = image height, c = channel
|
||||||
"""
|
"""
|
||||||
if not self.model_name: # Check if called from derived class
|
if not self.model_name: # Check if called from derived class
|
||||||
raise NotImplementedError("virtual method must not be called directly")
|
raise NotImplementedError("virtual method must not be called directly")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user