question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Documentation - unable to add the information displayed in the terminal (default logging) to tensor board for plotting

See original GitHub issue

Hi, The documentation says

All the information displayed in the terminal (default logging) can be also logged in tensorboard. For that, you need to define several environment variables:

# formats are comma-separated, but for tensorboard you only need the last one
# stdout -> terminal
export OPENAI_LOG_FORMAT='stdout,log,csv,tensorboard'
export OPENAI_LOGDIR=path/to/tensorboard/data

This part is bit unclear, where should I set/run or execute the above two line

I am clear with the below part and to configure the logger using:

from stable_baselines.logger import configure

configure()

And this part generally I do in ananconda promt Then start tensorboard with:

tensorboard --logdir=$OPENAI_LOGDIR

Thank you

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
venkatesh-chinnicommented, Nov 13, 2019
SETX OPENAI_LOG_FORMAT "stdout,log,csv,tensorboard"
SETX OPENAI_LOGDIR "C:\path\to\tensorboard\data"
tensorboard --logdir=%OPENAI_LOGDIR%

worked in windows. You can close the issue

0reactions
nndeicommented, Aug 24, 2020

Dear @araffin,

Thank you for the reply.

I have not understood if I can retrieve a .csv file containing the data shown in the terminal during the training process after finishing the training. Also, since the export commands are bash commands, where does from stable_baselines.logger import configure and configure() go? Can I make this work in zoo?

For the other questions, thank you very much for providing info, I will surely read what you suggested in order to better grasp what is displayed.

Best regards

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get started with TensorBoard - TensorFlow
It enables tracking experiment metrics like loss and accuracy, visualizing the model graph, projecting embeddings to a lower dimensional space, ...
Read more >
Deep Dive Into TensorBoard: Tutorial With Examples
The tool enables you to track various metrics such as accuracy and log loss on training or validation set. As we shall see...
Read more >
TensorBoard Tutorial: Run Examples & Use Logdir - DataCamp
Learn how to use TensorBoard with our step-by-step tutorial. Find run examples and organize your data with multiple logdirs.
Read more >
Tensorboard Integration - Stable Baselines - Read the Docs
To use Tensorboard with the rl baselines, you simply need to define a log ... All the information displayed in the terminal (default...
Read more >
Use TensorBoard in Amazon SageMaker Studio
Back to the Launcher, click the Create notebook tile. Your notebook launches and opens in a new Studio tab. Run this code from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found