statmike / vertex-ai-mlops

Google Cloud Platform Vertex AI end-to-end workflows for machine learning operations
Apache License 2.0
494 stars 221 forks source link

Explainations error in Notebook 2a #46

Open kajusarkar opened 1 year ago

kajusarkar commented 1 year ago

When executing the line of code explanation = endpoint.explain(instances=instances, parameters=parameters), I encounter a FailedPrecondition error with the message "Deployed model 8593450830185627648 does not support explanation."

Error TraceBack:

    status = StatusCode.FAILED_PRECONDITION
    details = "Deployed model 8593450830185627648 does not support explanation."
    debug_error_string = "UNKNOWN:Error received from peer ipv4:64.233.183.95:443 {grpc_message:"Deployed model 8593450830185627648 does not support explanation.", grpc_status:9, created_time:"2023-06-03T03:17:19.874069042+00:00"}"
>
FailedPrecondition: 400 Deployed model 8593450830185627648 does not support explanation.

Any help is appreciated.Thanks.