Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: an api test added. It evaluates inserting base64 encoded image #1127

Merged
merged 3 commits into from
Mar 19, 2024
Merged

feat: an api test added. It evaluates inserting base64 encoded image #1127

merged 3 commits into from
Mar 19, 2024

Conversation

rezakarbasi
Copy link
Contributor

…ded input or not

Tickets

https://github.com/serengil/deepface/issues/XXX

What has been done

With this PR, ...

How to test

make lint && make test

for i in result["results"]:
assert i.get("embedding") is not None
assert isinstance(i.get("embedding"), list) is True
assert len(i.get("embedding")) == 4096
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Facenet model creates 128 dimensional embeddings, not 4096

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I forgot to check that
Thanks for the revision

@serengil
Copy link
Owner

LGTM

@serengil serengil merged commit 5d49679 into serengil:master Mar 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants