GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: Fix aiplatform.init bug by replacing experiment_name with experi… · Russ76/python-aiplatform@c60773a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • samples/model-builder/experiment_tracking
    • autologging_with_auto_run_creation_sample.py
    • autologging_with_auto_run_creation_sample_test.py
    • autologging_with_manual_run_creation_sample.py
    • autologging_with_manual_run_creation_sample_test.py
    • create_experiment_run_sample.py
    • create_experiment_run_sample_test.py
    • end_experiment_run_sample.py
    • end_experiment_run_sample_test.py
    • log_time_series_metrics_sample.py
    • resume_experiment_run_sample.py
    • resume_experiment_run_sample_test.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎samples/model-builder/experiment_tracking/autologging_with_auto_run_creation_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/autologging_with_auto_run_creation_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def autologging_with_auto_run_creation_sample(
2525
location: str,
2626
):
2727
aiplatform.init(
28-
experiment_name=experiment_name,
28+
experiment=experiment_name,
2929
project=project,
3030
location=location,
3131
experiment_tensorboard=experiment_tensorboard,
Collapse file

‎samples/model-builder/experiment_tracking/autologging_with_auto_run_creation_sample_test.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/autologging_with_auto_run_creation_sample_test.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_autologging_with_auto_run_creation_sample(mock_sdk_init, mock_autolog):
2727
)
2828

2929
mock_sdk_init.assert_called_with(
30-
experiment_name=constants.EXPERIMENT_NAME,
30+
experiment=constants.EXPERIMENT_NAME,
3131
project=constants.PROJECT,
3232
location=constants.LOCATION,
3333
experiment_tensorboard=constants.TENSORBOARD_NAME,
Collapse file

‎samples/model-builder/experiment_tracking/autologging_with_manual_run_creation_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/autologging_with_manual_run_creation_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def autologging_with_manual_run_creation_sample(
2626
location: str,
2727
):
2828
aiplatform.init(
29-
experiment_name=experiment_name,
29+
experiment=experiment_name,
3030
project=project,
3131
location=location,
3232
experiment_tensorboard=experiment_tensorboard,
Collapse file

‎samples/model-builder/experiment_tracking/autologging_with_manual_run_creation_sample_test.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/autologging_with_manual_run_creation_sample_test.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_autologging_with_manual_run_creation_sample(
3030
)
3131

3232
mock_sdk_init.assert_called_with(
33-
experiment_name=constants.EXPERIMENT_NAME,
33+
experiment=constants.EXPERIMENT_NAME,
3434
project=constants.PROJECT,
3535
location=constants.LOCATION,
3636
experiment_tensorboard=constants.TENSORBOARD_NAME,
Collapse file

‎samples/model-builder/experiment_tracking/create_experiment_run_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/create_experiment_run_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def create_experiment_run_sample(
2525
project: str,
2626
location: str,
2727
):
28-
aiplatform.init(experiment_name=experiment_name, project=project, location=location)
28+
aiplatform.init(experiment=experiment_name, project=project, location=location)
2929

3030
aiplatform.start_run(run=run_name, tensorboard=experiment_run_tensorboard)
3131

Collapse file

‎samples/model-builder/experiment_tracking/create_experiment_run_sample_test.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/create_experiment_run_sample_test.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_create_experiment_run_sample(mock_sdk_init, mock_start_run):
2727
)
2828

2929
mock_sdk_init.assert_called_with(
30-
experiment_name=constants.EXPERIMENT_NAME,
30+
experiment=constants.EXPERIMENT_NAME,
3131
project=constants.PROJECT,
3232
location=constants.LOCATION,
3333
)
Collapse file

‎samples/model-builder/experiment_tracking/end_experiment_run_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/end_experiment_run_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def end_experiment_run_sample(
2323
project: str,
2424
location: str,
2525
):
26-
aiplatform.init(experiment_name=experiment_name, project=project, location=location)
26+
aiplatform.init(experiment=experiment_name, project=project, location=location)
2727

2828
aiplatform.start_run(run=run_name, resume=True)
2929

Collapse file

‎samples/model-builder/experiment_tracking/end_experiment_run_sample_test.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/end_experiment_run_sample_test.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_end_experiment_run_sample(mock_sdk_init, mock_start_run, mock_end_run):
2626
)
2727

2828
mock_sdk_init.assert_called_with(
29-
experiment_name=constants.EXPERIMENT_NAME,
29+
experiment=constants.EXPERIMENT_NAME,
3030
project=constants.PROJECT,
3131
location=constants.LOCATION,
3232
)
Collapse file

‎samples/model-builder/experiment_tracking/log_time_series_metrics_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/log_time_series_metrics_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def log_time_series_metrics_sample(
2828
project: str,
2929
location: str,
3030
):
31-
aiplatform.init(experiment_name=experiment_name, project=project, location=location)
31+
aiplatform.init(experiment=experiment_name, project=project, location=location)
3232

3333
aiplatform.start_run(run_name=run_name, resume=True)
3434

Collapse file

‎samples/model-builder/experiment_tracking/resume_experiment_run_sample.py‎

Copy file name to clipboardExpand all lines: samples/model-builder/experiment_tracking/resume_experiment_run_sample.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def resume_experiment_run_sample(
2323
project: str,
2424
location: str,
2525
):
26-
aiplatform.init(experiment_name=experiment_name, project=project, location=location)
26+
aiplatform.init(experiment=experiment_name, project=project, location=location)
2727

2828
aiplatform.start_run(run=run_name, resume=True)
2929

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.