Skip to content

Commit

Permalink
docs: fix CustomContainerTrainingJob example in docstring (#1101)
Browse files Browse the repository at this point in the history
Fixes #1100 🦕
  • Loading branch information
morgandu authored Mar 25, 2022
1 parent ef5930c commit d2fb9db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google/cloud/aiplatform/training_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2406,9 +2406,9 @@ def __init__(
):
"""Constructs a Custom Container Training Job.
job = aiplatform.CustomTrainingJob(
job = aiplatform.CustomContainerTrainingJob(
display_name='test-train',
container_uri='gcr.io/cloud-aiplatform/training/tf-cpu.2-2:latest',
container_uri='gcr.io/my_project_id/my_image_name:tag',
command=['python3', 'run_script.py']
model_serving_container_image_uri='gcr.io/my-trainer/serving:1',
model_serving_container_predict_route='predict',
Expand Down

0 comments on commit d2fb9db

Please sign in to comment.