我将我的预测模型上传到Googles的ML Engine。我跑的时候
gcloud ml-engine predict --model=earnings --json-instances=sample_input_prescaled.json
我收到错误
ERROR: (gcloud.ml-engine.predict) HTTP request failed. Response: {
"error": {
"code": 400,
"message": "Field: name Error: No version was specified and no default version for the model was found.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"field": "name",
"description": "No version was specified and no default version for the model was found."
}
]
}
]
}
}
如何在模型中添加版本?