Skip to content

Commit 1220746

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
docs: Update tensorboard continuous uploader sample
PiperOrigin-RevId: 594299974
1 parent 3e33e76 commit 1220746

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

samples/model-builder/experiment_tracking/upload_tensorboard_log_continuously_sample.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ def upload_tensorboard_log_continuously_sample(
4040
run_name_prefix=run_name_prefix,
4141
description=description,
4242
)
43-
aiplatform.end_upload_tb_log()
43+
44+
try:
45+
print("Insert your code here")
46+
finally:
47+
aiplatform.end_upload_tb_log()
4448

4549

4650
# [END aiplatform_sdk_upload_tensorboard_log_sample]

0 commit comments

Comments
 (0)