Skip to content

Commit

Permalink
Update trainer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 authored Feb 28, 2024
1 parent 69bd044 commit 986680b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luxonis_train/core/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ def __init__(
def _upload_logs(self) -> None:
if self.cfg.tracker.is_mlflow:
logger.info("Uploading logs to MLFlow.")
self.fs = LuxonisFileSystem(
fs = LuxonisFileSystem(
"mlflow://",
allow_active_mlflow_run=True,
allow_local=False,
)
self.fs.put_file(
fs.put_file(
local_path=self.log_file,
remote_path="luxonis_train.log",
mlflow_instance=self.tracker.experiment.get("mlflow", None),
Expand Down

0 comments on commit 986680b

Please sign in to comment.