Skip to content

Commit

Permalink
fix: now works with python < 3.9 & > 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisVLRT committed May 7, 2021
1 parent d373cc4 commit 9422d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/track_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
mlflow.log_metric("foo", 2**k)

# Log an artifact (output file)
mlflow.log_artifact(Path(__file__).parent / "artifact.csv")
mlflow.log_artifact(str(Path(__file__).parent / "artifact.csv"))

print("Sucessfully pushed logs, metrics, and artifacts")

0 comments on commit 9422d27

Please sign in to comment.