Skip to content

Commit

Permalink
log image fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Chan <[email protected]>
  • Loading branch information
jessechancy committed May 22, 2024
1 parent 57c7b72 commit 604c85d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer/loggers/mlflow_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,9 @@ def log_images(
assert isinstance(self._run_id, str)
self._mlflow_client.log_image(
image=image,
artifact_file=f'{name}_{step}_{im_ind}.png',
key=f'{name}_{step}_{im_ind}',
run_id=self._run_id,
step=step,
)

def post_close(self):
Expand Down

0 comments on commit 604c85d

Please sign in to comment.