[英]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.