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:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The PR with updated samples was merged. Closing this issue now.
@dizcology awesome! thanks