Skip to content

Commit

Permalink
minor tblogger image logging bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TarekAbouChakra committed Nov 22, 2023
1 parent c9bc384 commit f6cecbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neps/plot/tensorboard_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def _write_image_config(
if resize_images is None:
resize_images = [32, 32]

if tblogger.current_epoch and tblogger.current_epoch % counter == 0:
if tblogger.current_epoch >= 0 and tblogger.current_epoch % counter == 0:
# Log every multiple of "counter"

if num_images > len(image):
Expand Down

0 comments on commit f6cecbf

Please sign in to comment.