GoogleCloudPlatform / mlops-with-vertex-ai

An end-to-end example of MLOps on Google Cloud using TensorFlow, TFX, and Vertex AI
Apache License 2.0
353 stars 126 forks source link

Error: in experimentation.ipynb, getting error from get_training_source_query function as list out of range and gca_resource not available. #28

Open s-swathib opened 2 years ago

s-swathib commented 2 years ago

Getting an error as list out of range for get_training_source_query function for public dataset (house price dataset). Annotation 2022-11-15 125042

s-swathib commented 1 year ago

@ksalama could you please respond to this issue?

tiffany-washburn commented 1 year ago

+1

tiffany-washburn commented 1 year ago

I was following the mlops-with-vertex-ai examples, and I was able to fix this error by ensuring that the DATASET_DISPLAY_NAME I used in the 02-experimentation notebook was the same as what I'd used in the 01-dataset-management notebook.

destijl commented 1 year ago

I hit the same error. I was hoping the second notebook was possible to complete independently, but for this to work you need to complete the first notebook that creates the dataset. I was blocked from doing that by https://github.com/GoogleCloudPlatform/mlops-with-vertex-ai/issues/32

robe-rt commented 1 year ago

Instead of gca_resource use _gca_resource and check that you ran the vertex ai initialization cell (it sets the project id and location).