Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using log_custom_scalar #120

Open
ldeso opened this issue Mar 6, 2023 · 0 comments
Open

Error using log_custom_scalar #120

ldeso opened this issue Mar 6, 2023 · 0 comments

Comments

@ldeso
Copy link
Contributor

ldeso commented Mar 6, 2023

Calling the function log_custom_scalar results in an error.

Minimal Working Example

using Pkg
Pkg.activate(mktempdir())
Pkg.add(name="TensorBoardLogger", version="0.1.19")
using TensorBoardLogger
logger = TBLogger("tensorboardlogger-issue-120", tb_overwrite)
log_value(logger, "a", 1)
log_value(logger, "b", 2)
log_custom_scalar(logger, Dict("ab" => Dict("ab" => (tb_multiline, ["a", "b"]))))
# ERROR: UndefVarError: `MultilineChartContent` not defined

This issue is fixed by #119:

# (Restart Julia)
using Pkg
Pkg.activate(mktempdir())
Pkg.add(url="https://github.com/de-souza/TensorBoardLogger.jl", rev="fix-MultilineChartContent-not-defined")
using TensorBoardLogger
logger = TBLogger("tensorboardlogger-issue-120", tb_overwrite)
log_value(logger, "a", 1)
log_value(logger, "b", 2)
log_custom_scalar(logger, Dict("ab" => Dict("ab" => (tb_multiline, ["a", "b"]))))
# OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant