We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am wondering if it would be better to load keras model once, and assign it to a global variable. It seems get_predictions would load keras model every time it gets called. https://github.com/PyDataBlog/fastapi-model-deployment/blob/master/app/data/predictions_handler.py
get_predictions
The text was updated successfully, but these errors were encountered:
@yimcai please feel free to make a PR with your suggestion. Yea, it makes practical sense to load it once.
Sorry, something went wrong.
No branches or pull requests
I am wondering if it would be better to load keras model once, and assign it to a global variable. It seems
get_predictions
would load keras model every time it gets called.https://github.com/PyDataBlog/fastapi-model-deployment/blob/master/app/data/predictions_handler.py
The text was updated successfully, but these errors were encountered: