Part of my pipeline:
training_op = gcc_aip.AutoMLTabularTrainingJobRunOp(
project=project,
display_name=display_name,
optimization_prediction_type="classification",
budget_milli_node_hours=1000,
column_transformations=[ ... ],
dataset=dataset_create_op.outputs["dataset"],
target_column="Class",
)
model_to_evaluate= training_op.outputs["model"]
model_id=model_to_evaluate.name
This works except model_id
is set to 'model'. I want the underlying model id ie the bit at the end of a model's resource name:
model_resource_name= f'projects/{PROJECT}/locations/{LOCATION}/models/{model_id}'