mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
more lintings on readme
This commit is contained in:
parent
4432a220bd
commit
985828d0a3
@ -98,7 +98,8 @@ embedding_objs = DeepFace.represent(
|
|||||||
This function returns an array as embedding. The size of the embedding array would be different based on the model name. For instance, VGG-Face is the default model and it represents facial images as 4096 dimensional vectors.
|
This function returns an array as embedding. The size of the embedding array would be different based on the model name. For instance, VGG-Face is the default model and it represents facial images as 4096 dimensional vectors.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
embedding = embedding_objs[0]["embedding"]
|
for embedding_obj in embedding_objs:
|
||||||
|
embedding = embedding_obj["embedding"]
|
||||||
assert isinstance(embedding, list)
|
assert isinstance(embedding, list)
|
||||||
assert (
|
assert (
|
||||||
model_name == "VGG-Face"
|
model_name == "VGG-Face"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user