Skip to content

Commit

Permalink
fix: return type
Browse files Browse the repository at this point in the history
  • Loading branch information
sokovninn committed Oct 1, 2024
1 parent 1e9f495 commit f5305c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luxonis_train/core/utils/infer_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def render_visualizations(
visualizations: dict[str, dict[str, Tensor]],
save_dir: str | Path | None,
show: bool = True,
) -> None:
) -> dict[str, list[np.ndarray]]:
"""Render or save visualizations."""
save_dir = Path(save_dir) if save_dir is not None else None
if save_dir is not None:
Expand Down

0 comments on commit f5305c8

Please sign in to comment.