Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Problem logging with tensorboard #29

Open
Carterbouley opened this issue Feb 19, 2021 · 2 comments
Open

Problem logging with tensorboard #29

Carterbouley opened this issue Feb 19, 2021 · 2 comments

Comments

@Carterbouley
Copy link

I am trying to log the training of my agent over time.

I am used to using tensorboard, however when I try and create a callback, i get an error when running a fit.

from keras.callbacks import TensorBoard
tb =  TensorBoard(log_dir='./keras-rl')
dqn.fit(env, nb_steps=1200000, visualize=False, verbose=1, callbacks=[tb])


AttributeError: 'TensorBoard' object has no attribute '_should_trace'

And when I try and use WandbLogger as suggested:

from keras.callbacks import WandbLogger

ImportError: cannot import name 'WandbLogger' from 'keras.callbacks' 

If there is a solution to this I would be thankful, or another way of doing live monitoring would be great too!

@MarcoLehmann
Copy link

same here

1 similar comment
@j-beaver
Copy link

j-beaver commented May 9, 2021

same here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants