You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I avoid loading the model every time? I believe the way you wrote it, the model is loaded each time a prediction is made, which consumes a lot of time. Is there a way to initialize the model into memory first, and then use something like model.predict()?
This thread was initiated for bug purposes, but it is unrelated to any bug reporting. Please direct your questions to Stack Overflow, as indicated in the issue templates.
Before You Report a Bug, Please Confirm You Have Done The Following...
DeepFace's version
newest
Python version
3.8.5
Operating System
centos
Dependencies
How can I avoid loading the model every time? I believe the way you wrote it, the model is loaded each time a prediction is made, which consumes a lot of time. Is there a way to initialize the model into memory first, and then use something like model.predict()?
Reproducible example
Relevant Log Output
No response
Expected Result
No response
What happened instead?
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered: