Tensorboard log file not generated
See original GitHub issueDescribe the bug
In Stable Baseline, if I train sac.SAC
with tensorboard_log='./logs/'
, I get a Tensorboard log in ./logs/SAC_1/
. But, in Stable Baselines 3, with the same keyword argument, a Tensorboard log is not generated.
Code example If I run my training script with
import stable_baselines as sb
# soft actor critic
agent = sb.sac.SAC(
sb.sac.MlpPolicy,
env,
tensorboard_log='./logs/',
)
I get a log at ./logs/SAC_1/events.out.tfevents.1594902758.machinename
.
But, if I run the equivalent in this updated version as so
import stable_baselines3 as sb
# soft actor critic
agent = sb.sac.SAC(
sb.sac.MlpPolicy,
env,
tensorboard_log='./logs/',
)
the previous log generation doesn’t happen.
System Info
- Everything is installed via
pip
if possible - Python 3.6.9
- torch 1.5.0
- tensorboard 1.14.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (6 by maintainers)
Top Results From Across the Web
Why does this code not produce a log that is readable by ...
One of the reasons that tensorBoard can't find your folder on Windows is that there is an overloading of syntax. Something like "C:/logfolder" ......
Read more >TensorBoard Scalars: Logging training metrics in Keras
First, generate 1000 data points roughly along the line y = 0.5x + 2. ... TensorBoard reads log data from the log directory...
Read more >Visualize experiments with TensorBoard - Azure Machine ...
If your experiment natively outputs log files that are consumable by ... allows for TensorBoard to generate visualizations off of them.
Read more >How to use TensorBoard with PyTorch
Now, start TensorBoard, specifying the root log directory you used above. Argument logdir points to directory where TensorBoard will look to find event...
Read more >Using Tensorboard — pykeen 1.9.0 documentation
Tensorboard logs can created without actually installing tensorboard itself. However, if you want to view and interact with the data created via the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Got it! I needed to uninstall my current version, then reinstall with the
[extra]
tag. Thanks for your help.Then please fill up the issue template completely.