Skip to content

empty export model response - 'google.cloud.aiplatform_v1beta1.types.model_service.ExportModelResponse' #197

@zdhernandez

Description

@zdhernandez

@dizcology @morgandu While trying to export an edge model to a cloud bucket I noticed that the export_model_sample, as well as the example shown in the AiPlatform documentation, prints an empty response when the last line is executed:

print("export_model_response:", export_model_response)

The snippets section of this Github repository, doe not have a separate example to get the export status. Because of this, I was expecting that the last line: print("export_model_response:", export_model_response) would print the status of the operation like the example using the REST &CMD Line that looks like:

{ "name": "projects/PROJECT/locations/LOCATION/models/MODEL_ID/operations/OPERATION_ID", "metadata": { "@type": "type.googleapis.com/google.cloud.aiplatform.v1beta1.ExportModelOperationMetadata", "genericMetadata": { "createTime": "2020-10-12T20:53:40.130785Z", "updateTime": "2020-10-12T20:53:40.793983Z" }, "outputInfo": { **"artifactOutputUri": "gs://OUTPUT_BUCKET/model-MODEL_ID/EXPORT_FORMAT/YYYY-MM-DDThh:mm:ss.sssZ"** } }, "done": true, "response": { "@type": "type.googleapis.com/google.cloud.aiplatform.v1beta1.ExportModelResponse" } } 

Using Python I need to get the "artifactOutputUri" to know the full path where the exported model was stored at.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions