-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
empty export model response - 'google.cloud.aiplatform_v1beta1.types.model_service.ExportModelResponse' #197
Comments
@zdhernandez The status such as Note that the In particular, you can retrieve the operation's metadata through the operation's metadata property. |
@dizcology But shouldn't it print at least something and not empty? Because the other samples like the one to "create a dataset image" follow the same steps and it does print at least something. I would image that from a convention or to keep thing uniform that this print(export_model_response) would print out at least something that I can see in the console. For instance if I run the create_dataset_image_sample the operation waits and the print(create_dataset_response) prints this output to the console:
And the other code samples do the same. So unless I'm confused, what I am saying is that I am expecting print(export_model_response) to output the JSON from the response to the console. That way I can grab the "artifactOutputUri" to know where the exported model was stored at. Do you agree ? or am I missing something? Each sample code snippet so far follows pretty much the same convention. |
@zdhernandez I quite agree that the samples should print also the output_info. Let me look into that. |
@dizcology Thank you! 👍 |
@zdhernandez I updated the samples in this PR: #204 |
@dizcology awesome! thanks |
The PR with updated samples was merged. Closing this issue now. |
@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:
Using Python I need to get the "artifactOutputUri" to know the full path where the exported model was stored at.
The text was updated successfully, but these errors were encountered: