Skip to content

Commit 84afd13

Browse files
committed
fix a doc off
Signed-off-by: Lehui Liu <lehui@anyscale.com>
1 parent 15bfa66 commit 84afd13

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/source/train/user-guides/experiment-tracking.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,10 @@ If applicable, make sure that you properly set up credentials on each training w
182182

183183
.. testcode::
184184
:skipif: True
185-
186-
mlflow.start_run(tracking_uri="file:some_shared_storage_path/mlruns")
185+
186+
mlflow.set_tracking_uri("file://some_shared_storage_path/mlruns")
187+
mlflow.set_experiment("my_experiment")
188+
mlflow.start_run()
187189

188190
**Remote, hosted by Databricks**
189191

0 commit comments

Comments
 (0)