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

EFRS-1114: Google Coral Support for FaceNet  #580

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Conversation

iamrinni
Copy link

@iamrinni iamrinni commented Aug 2, 2021

Initial part for Google Coral facenet module.
Function usage example to create embeddings:
emb_calculator = Calculator()

for 1 image

emb_calculator.calc_embedding(img, mode='CPU') or 
emb_calculator.calc_embedding(img, resize=True,mode='TPU')

for several images

emb_calculator._calculate_embeddings(images, mode='CPU') or 
emb_calculator._calculate_embeddings(images, resize=True, mode='TPU')

To run docker image with TPU access: docker run -it --privileged --device=/dev/bus/usb:/dev/bus/usb test_coral /bin/bash

@iamrinni iamrinni requested a review from pospielov August 2, 2021 09:11
@github-actions
Copy link
Contributor

github-actions bot commented Aug 2, 2021

CLA Assistant Lite bot All contributors have signed the CLA ✍️

@ptichalouf
Copy link

any news about CORAL TPU support ?

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.

None yet

2 participants