more lintings on readme

This commit is contained in:
Sefik Ilkin Serengil 2024-05-05 07:52:03 +01:00 committed by GitHub
parent 4432a220bd
commit 985828d0a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.
```python
embedding = embedding_objs[0]["embedding"]
for embedding_obj in embedding_objs:
embedding = embedding_obj["embedding"]
assert isinstance(embedding, list)
assert (
model_name == "VGG-Face"