mlops-with-vertex-ai
mlops-with-vertex-ai copied to clipboard
An end-to-end example of MLOps on Google Cloud using TensorFlow, TFX, and Vertex AI
I've noticed that the TensorBoard instance that is being produced in Notebook 2 uses a lot of credits. Before January 22 this was free, once enabled this instance , disabling...
How do I register the model and load the different versions of the model using Vertex AI model. For instance, I have trained scikit-learn model and I want to register...
Python error encountered executing the following line at [Extract train and eval splits]: [sql_query = datasource_utils.get_training_source_query(](https://github.com/GoogleCloudPlatform/mlops-with-vertex-ai/blame/main/03-training-formalization.ipynb#L270) ``` sql_query = datasource_utils.get_training_source_query( PROJECT, REGION, DATASET_DISPLAY_NAME, ml_use='UNASSIGNED', limit=5000) ``` Observed error: --------------------------------------------------------------------------- IndexError...
The latest Python 3 package markupsafe is not compatible with [from tfx.orchestration.experimental.interactive.interactive_context import InteractiveContext](https://github.com/GoogleCloudPlatform/mlops-with-vertex-ai/blame/main/03-training-formalization.ipynb#L181): ``` import ml_metadata as mlmd from ml_metadata.proto import metadata_store_pb2 from tfx.orchestration.experimental.interactive.interactive_context import InteractiveContext ``` Error: --------------------------------------------------------...
# Problem 03-training-formalization.ipynb ``` ValueError: A `Concatenate` layer requires inputs with matching shapes except for the concatenation axis. Received: input_shape=[(None, 2), (None, 4), (7,), (None, 3), (None, 1), (None, 1),...
03-training-formalization.ipynb ``` schema_importer = tfx.dsl.components.common.importer.Importer( source_uri=RAW_SCHEMA_DIR, artifact_type=tfx.types.standard_artifacts.Schema, reimport=False ) context.run(schema_importer) ``` ``` --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /tmp/ipykernel_8454/2100786518.py in 1 #import tfx.v1 2 ----> 3 schema_importer = tfx.dsl.components.common.importer.Importer(...
After reading the notebook: https://github.com/GoogleCloudPlatform/mlops-with-vertex-ai/blob/main/04-pipeline-deployment.ipynb the unit test is testing the functions which is not used to launch the pipeline. It seems that there are two sets of functions, one...
Users like to have a way to create cloud build triggers in [the Terraform folder](https://github.com/GoogleCloudPlatform/mlops-with-vertex-ai/tree/main/provision/terraform) or with gcloud commands. I found tensorflow transform is using Apache beam runner in the...
In notebook 02, cell: classifier = model.create_binary_classifier(tft_output, hyperparams) classifier.summary() The following error appears: `Concatenate` layer requires inputs with matching shapes except for the concatenation axis. Received: input_shape=[(None, 2), (None, 4),...