Skip to content

Commit

Permalink
generate_face_embedding updated
Browse files Browse the repository at this point in the history
  • Loading branch information
unytics committed May 13, 2024
1 parent a144ad6 commit 7c5fb6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bigfunctions/generate_face_embedding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ additional_install_commands_in_dockerfile: |
RUN apt-get update -y && apt-get install -y libgl1-mesa-glx libglib2.0-0
RUN python -c "import deepface.DeepFace; import deepface.detectors.DetectorWrapper; deepface.DeepFace.build_model('Facenet512'); deepface.detectors.DetectorWrapper.build_model('retinaface')"
code: |
import tempfile
import urllib.request
from deepface import DeepFace
Expand All @@ -57,6 +58,6 @@ requirements: |
quotas:
max_rows_per_user_per_day: 1000
cloud_run:
memory: 1024Mi
memory: 2048Mi
concurrency: 1
max_instances: 10

0 comments on commit 7c5fb6d

Please sign in to comment.