google cloud machine learning error

前端 未结 2 1588
囚心锁ツ
囚心锁ツ 2021-01-17 04:31

pleas help me i cannot solve this

ERROR: (gcloud.beta.ml.models.versions.create) FAILED_PRECONDITION: Field: version.deployment_uri Error: The model directory gs://v

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-17 05:26

    I am new to Google Cloud. I have also got the same kind of issue. When I was trying to create version for model. I have resolved it.

    you need to do two steps:

    • Export model --> it will give you saved_model.pbtxt, I am using tensorflow so I have used export_savedmodel()

    • Upload saved_model.pbtxt & variables folder to storage and try

提交回复
热议问题