-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[FEATURE]: Comprehensive list of model URLs #1336
Comments
DEEPFACE_HOME can be updated with environment variables - https://github.com/serengil/deepface/blob/master/deepface/commons/folder_utils.py#L34 What do you need exactly? Would you please be more clearer? I couldn't understand the requirement. |
I'd like to download all the model files needed by DeepFace in advance, but there is no easy way to get a list of all the required files and URLs. |
Sure, we can store them all into a dictionary. |
@hacker1024 now, you can download all model weights in one shot with the following code snippet. from deepface.commons import weight_utils
weight_utils.download_all_models_in_one_shot() |
Description
We'd like to ship a prepackaged
DEEPFACE_HOME
in order to avoid unexpectedly downloading large files at runtime. At the moment, this is hard to do, because model downloads occur all throughout the codebase.It'd be great if the model names, URLs, and file paths were kept in an easily parseable data structure that could be used by both DeepFace at runtime and packaging scripts beforehand.
Additional Info
No response
The text was updated successfully, but these errors were encountered: