简体   繁体   English

如何在Google App Engine上部署我的Flask应用程序?

[英]how to deploy my flask application on google app engine?

I have trained a deep learning model and for the Ui part i used flask module. 我已经训练了深度学习模型,对于Ui部分,我使用了flask模块。

I have a trained model which is of size 900MB. 我有一个训练有素的模型,大小为900MB。

I am not able to deploy this flask application on google app engine because of the memory issue of the trained model. 由于受过训练的模型存在内存问题 ,因此我无法在Google App Engine上部署此Flask应用程序

can anyone help me with how to deploy my flask application on google App engine? 谁能帮助我如何在Google App Engine上部署 Flask应用程序?

I don't know if App Engine is the best place for something like deep learning, but anyhow: You have to change the instance class for your project. 我不知道App Engine是否适合进行深度学习之类的最佳选择,但是无论如何:您必须更改项目的实例类

Since you've mentioned 900 MB, your only options are B4_1G and B8 as classes. 既然提到了900 MB,那么您唯一的选择是将B4_1G和B8作为类。 You can change this adding the option instance_class: B8 to your app.yaml file 您可以更改此选项,将option instance_class: B8添加到您的app.yaml文件中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用核心Python包在Google App Engine中部署Flask应用程序? - How to deploy Flask application in google app engine with core python packages? 如何使用应用工厂将 Flask 应用部署到 Google Cloud(App Engine),以及如何编写 app.yaml 文件? - How to deploy a Flask app to Google Cloud (App Engine) with an application factory, and how to write the app.yaml file? 如何在Google App Engine中部署Django应用程序? - How to deploy Django application in Google App Engine? 如何在Google App Engine中部署应用程序 - How to deploy application in google app engine 在 Google App Engine 上部署 Flask 和 Tensorflow 服务 - Deploy Flask and Tensorflow serving on Google App Engine 如何将 Flask 应用程序作为包部署到 App Engine? - How to deploy Flask app as package to App Engine? 如何使用Python在Google App Engine中使用应用程序部署映像 - How to Deploy an Image with the Application in Google App Engine Using Python 在 Google App Engine 上部署 Flask 应用程序 - Deploying Flask application on Google App Engine 无法在 Google App Engine 中使用 PostgreSQL 部署 Flask-Python 应用程序 - Unable to Deploy Flask-Python App with PostgreSQL in Google App Engine 如何将flask-socketio 应用程序部署到Google Cloud Platform App Engine - How to deploy flask-socketio app to Google Cloud Platform App Engine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM