-
Notifications
You must be signed in to change notification settings - Fork 972
Open
Description
Describe the bug
I'm trying to rebuild the containers and it's failing trying to download the models from google drive. I confirmed I can't (could last night either) access the URL from my browser either.
Is there an updated URL or another location to get the data from?
Both of these seem to be unavilable now:
- '1im5Qq006ZEV_tViKh3cgia_Q4jJ13bRK' for FaceNet's first model
- '1PxK72O-NROEz8pUGDDFRDYF4AABbvWiC' for AgeDetector's model
3.046 Traceback (most recent call last):
3.046 File "/usr/local/lib/python3.12/dist-packages/gdown/download.py", line 267, in download
3.046 url = get_url_from_gdrive_confirmation(res.text)
3.046 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3.046 File "/usr/local/lib/python3.12/dist-packages/gdown/download.py", line 55, in get_url_from_gdrive_confirmation
3.046 raise FileURLRetrievalError(
3.046 gdown.exceptions.FileURLRetrievalError: Cannot retrieve the public link of the file. You may need to change the permission to 'Anyone with the link', or have had many accesses. Check FAQ in https://github.com/wkentaro/gdown?tab=readme-ov-file#faq.
3.046
3.046 During handling of the above exception, another exception occurred:
3.046
3.046 Traceback (most recent call last):
3.046 File "<frozen runpy>", line 198, in _run_module_as_main
3.046 File "<frozen runpy>", line 88, in _run_code
3.046 File "/app/ml/src/services/facescan/plugins/setup.py", line 22, in <module>
3.046 plugin.ml_model.download_if_not_exists()
3.046 File "/app/ml/src/services/facescan/plugins/base.py", line 60, in download_if_not_exists
3.046 self._download(self.url, tmpfile)
3.046 File "/app/ml/src/services/facescan/plugins/base.py", line 69, in _download
3.046 return gdown.download(url, output)
3.046 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
3.046 File "/usr/local/lib/python3.12/dist-packages/gdown/download.py", line 278, in download
3.046 raise FileURLRetrievalError(message)
3.046 gdown.exceptions.FileURLRetrievalError: Failed to retrieve file url:
3.046
3.046 Cannot retrieve the public link of the file. You may need to change
3.046 the permission to 'Anyone with the link', or have had many accesses.
3.046 Check FAQ in https://github.com/wkentaro/gdown?tab=readme-ov-file#faq.
3.046
3.046 You may still be able to access the file from the browser:
3.046
3.046 https://drive.google.com/uc?id=1im5Qq006ZEV_tViKh3cgia_Q4jJ13bRK
3.046
3.046 but Gdown can't. Please check connections and permissions.
3.046 Install dependencies: {'tf-slim~=1.1.0', 'tensorflow==2.20.0', 'protobuf==6.32.1', 'tensorflow~=2.20.0'}
3.046 Checking models for facenet.Calculator...
------
3 warnings found (use docker --debug to expand):
- UndefinedVar: Usage of undefined variable '$GIT_COMMIT' (line 8)
- UndefinedVar: Usage of undefined variable '$BUILD_DATE' (line 8)
- UndefinedVar: Usage of undefined variable '$GIT_BRANCH' (line 8)
Dockerfile:115
--------------------
113 | COPY src src
114 | COPY srcext srcext
115 | >>> RUN python3 -m src.services.facescan.plugins.setup
116 |
117 | # copy rest of the code
--------------------
ERROR: failed to build: failed to solve: process "/bin/bash -c python3 -m src.services.facescan.plugins.setup" did not complete successfully: exit code: 1Metadata
Metadata
Assignees
Labels
No labels