GoogleCloudPlatform / cloudml-samples

Cloud ML Engine repo. Please visit the new Vertex AI samples repo at https://github.com/GoogleCloudPlatform/vertex-ai-samples
https://cloud.google.com/ai-platform/docs/
Apache License 2.0
1.51k stars 860 forks source link

Run failed "Creating a custom prediction routine with Keras" #460

Closed zzaoen closed 4 years ago

zzaoen commented 4 years ago

(gcloud.beta.ai-platform.versions.create) Create Version failed. Bad model detected with error: "Failed to load model: Unexpected error when loading the model: Unexpected keyword argument passed to optimizer: learning_rate (Error code: 0)"

Local and Colab tensorflow version are 1.15.0

zzaoen commented 4 years ago

Found the solution, just update the runtime-verison to 1.14