TensorBoardLogger.jl icon indicating copy to clipboard operation
TensorBoardLogger.jl copied to clipboard

Scalars are not logged

Open rkube opened this issue 2 years ago • 1 comments
trafficstars

Hi, while the example under Basic Usage works fine, this code produces empty event files:

using TensorBoardLogger, Logging, Random

lg=TBLogger("tensorboard_logs/run", min_level=Logging.Info)

with_logger(lg) do
    for i=1:100
        @info "scalar" i=i j=i^2 
    end 
end

File content:

$ tensorboard --inspect --logdir tensorboard_logs/run
TensorFlow installation not found - running with reduced feature set.
======================================================================
Processing event files... (this can take a few minutes)
======================================================================

Found event files in:
tensorboard_logs/run

These tags are in tensorboard_logs/run:
audio -
histograms -
images -
scalars -
tensor -
======================================================================

Event statistics for tensorboard_logs/run:
audio -
graph -
histograms -
images -
scalars -
sessionlog:checkpoint -
sessionlog:start -
sessionlog:stop -
tensor -

rkube avatar Jul 31 '23 22:07 rkube

I believe this is a duplicate of #126 where a workaround is given. I don't know how to solve it, any help there would be welcome!

nomadbl avatar Sep 04 '23 15:09 nomadbl