Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JSabadin committed Nov 25, 2024
1 parent 4ccf57e commit b629345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luxonis_ml/tracker/tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def store_log_locally(self, log_fn: Callable, *args, **kwargs) -> None:
self.local_logs["metric"].append(
{"name": args[0], "value": args[1], "step": args[2]}
)
if log_fn == self._experiment["mlflow"].log_metrics:
elif log_fn == self._experiment["mlflow"].log_metrics:
self.local_logs["metrics"].append(
{"metrics": args[0], "step": args[1]}
)
Expand Down Expand Up @@ -527,7 +527,7 @@ def upload_artifact(

@rank_zero_only
def log_matrix(self, matrix: np.ndarray, name: str, step: int) -> None:
"""Logs confusion matrix to the logging service.
"""Logs matrix to the logging service.
@type matrix: np.ndarray
@param matrix: The confusion matrix to log.
Expand Down

0 comments on commit b629345

Please sign in to comment.