Gcloud ML-Engine Prection Error OOM 429

末鹿安然 提交于 2019-12-11 13:23:51

问题


I'm getting the following error when trying to use gcloud ml-engine predict

ERROR: (gcloud.ml-engine.predict) HTTP request failed. Response: {
  "error": {
    "code": 429,
    "message": "Prediction server is out of memory, possibly because model size is too big.",
    "status": "RESOURCE_EXHAUSTED"
  }
}

My model size is 151 mb, I'm also using Tensorflow version 1.4 that does not requiere variables folder. When performing prediction it uses over 2gb. I'm using a modified version of inception.


回答1:


Currently, the machines used for prediction have only 2 GB of RAM. We are working on bringing machines with more RAM to the service.

That said, "vanilla" inception models are usually about the same size on disk as you are reporting but tend to easily fit in 2 GB of RAM. Is the explosion of RAM expected given the changes that you've made?



来源:https://stackoverflow.com/questions/49820507/gcloud-ml-engine-prection-error-oom-429

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!