Skip to content

Commit c1cdec1

Browse files
authored
MlflowLogger: log artifact fix (#1266)
* test log_artifact * test log_artifact [2]
1 parent 4a66e28 commit c1cdec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

catalyst/loggers/mlflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def log_artifact(
278278
loader_sample_step: int = 0,
279279
) -> None:
280280
"""Logs a local file or directory as an artifact to the logger."""
281-
mlflow.log_artifact(artifact, path_to_artifact)
281+
mlflow.log_artifact(path_to_artifact)
282282

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

0 commit comments

Comments
 (0)