question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

@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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dizcologycommented, Feb 8, 2021

The PR with updated samples was merged. Closing this issue now.

0reactions
zdhernandezcommented, Feb 1, 2021

@dizcology awesome! thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Package google.cloud.aiplatform.v1beta1 | Vertex AI
Exports data from a Dataset. ... rpc CancelDataLabelingJob( CancelDataLabelingJobRequest ) returns ( Empty ) ... Response message for ModelService.
Read more >
dev_appserver.py BadArgumentError: app must not be empty
The fix is to export this environment variable BEFORE running your dev_appserver.py . export APPLICATION_ID=dev~None.
Read more >
Specify the Google Cloud Dialogflow ES speech model
When you enter the custom payload response as described in the following task, you can set the variant to one of these options:...
Read more >
Exported data from Google Workspace to Google clou...
Hello, I have exported data from Google Workspace to Google cloud, I have a problem downloading my organization archive from Google Cloud ......
Read more >
Google Cloud Platform
Google Cloud Platform lets you build, deploy, and scale applications, websites, and services on the same infrastructure as Google.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found