Skip to content

Commit 4b270e5

Browse files
authored
Merge branch 'master' into rasbt-patch-1
2 parents 723e8ea + af19dda commit 4b270e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ repos:
5858
#args: ["--write-changes"] # uncomment if you want to get automatic fixing
5959

6060
- repo: https://github.com/PyCQA/docformatter
61-
rev: v1.7.5
61+
rev: 06907d0267368b49b9180eed423fae5697c1e909 # todo: fix for docformatter after last 1.7.5
6262
hooks:
6363
- id: docformatter
6464
additional_dependencies: [tomli]

src/lightning/pytorch/loggers/mlflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def _scan_and_log_checkpoints(self, checkpoint_callback: ModelCheckpoint) -> Non
360360
aliases = ["latest", "best"] if p == checkpoint_callback.best_model_path else ["latest"]
361361

362362
# Artifact path on mlflow
363-
artifact_path = f"model/checkpoints/{Path(p).stem}"
363+
artifact_path = Path(p).stem
364364

365365
# Log the checkpoint
366366
self.experiment.log_artifact(self._run_id, p, artifact_path)

0 commit comments

Comments
 (0)