Skip to content

Commit

Permalink
MlflowLogger: log artifact fix (#1266)
Browse files Browse the repository at this point in the history
* test log_artifact

* test log_artifact [2]
  • Loading branch information
y-ksenia committed Jul 28, 2021
1 parent 4a66e28 commit c1cdec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalyst/loggers/mlflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def log_artifact(
loader_sample_step: int = 0,
) -> None:
"""Logs a local file or directory as an artifact to the logger."""
mlflow.log_artifact(artifact, path_to_artifact)
mlflow.log_artifact(path_to_artifact)

def close_log(self, scope: str = None) -> None:
"""End an active MLflow run."""
Expand Down

0 comments on commit c1cdec1

Please sign in to comment.