Error- Model Resource Not Found

26 views
Skip to first unread message

Nazrul Miya

unread,
Jul 6, 2021, 3:28:19 PM7/6/21
to What-If Tool
Hi,

I am using What-If-Tool to inspect a model deployed in the google cloud ai platform.

I have a valid project, ai platform model resource, version resource. But the 'Predict' option in the tool throws below error 

RuntimeError('<HttpError 404 when requesting https://ml.googleapis.com/v1/projects/nm-xai-demo/models/loan_pred_model:predict?alt=json returned "Field: name Error: The model resource: "loan_pred_model" was not found. Please create the model resource first by using \'gcloud ai-platform models create loan_pred_model\'.". Details: "[{\'@type\': \'type.googleapis.com/google.rpc.BadRequest\', \'fieldViolations\': [{\'field\': \'name\', \'description\': \'The model resource: "loan_pred_model" was not found. Please create the model resource first by using \\\'gcloud ai-platform models create loan_pred_model\\\'.\'}]}]">')

Can you please help me to resolve the error,

Thanks & Regards,
Nazrul M

Reply all
Reply to author
Forward
0 new messages