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

Wandb logger #1222

Open
6 tasks
dev0Guy opened this issue Oct 14, 2024 · 1 comment
Open
6 tasks

Wandb logger #1222

dev0Guy opened this issue Oct 14, 2024 · 1 comment

Comments

@dev0Guy
Copy link

dev0Guy commented Oct 14, 2024

Versions:

  • tianshou: 1.1.0
  • gymnasium: 0.28.1
  • torch: 0.28.1
  • numpy: 1.26.4
  • sys: '3.11.7 | packaged by conda-forge | (main, Dec 23 2023, 14:38:07) [Clang 16.0.6 ]'
  • sys.platform: 'darwin'
  • wandb: 0.18.1

I've the following setup of logger (terminal already connected to wandb acount & project):

wandb.init()
logger = WandbLogger()
writer = SummaryWriter('./tensorboard')
logger.load(writer)

When looking on run page inside wandb I can see only system metrics. However when run tensorboard on the SummaryWriter log path I'm able to review the result using tensorboard. I've followed logging instruction inside docs.

Thanks in advance :)


  • I have marked all applicable categories:
    • exception-raising bug
    • RL algorithm bug
    • documentation request (i.e. "X is missing from the documentation.")
    • new feature request
    • design request (i.e. "X should be changed to Y.")
  • [ x] I have visited the source website
  • [ x] I have searched through the issue tracker for duplicates
  • [ x] I have mentioned version numbers, operating system and environment, where applicable:
    import tianshou, gymnasium as gym, torch, numpy, sys
    print(tianshou.__version__, gym.__version__, torch.__version__, numpy.__version__, sys.version, sys.platform)
@dev0Guy
Copy link
Author

dev0Guy commented Oct 14, 2024

Just for classification I do set the logger inside policy

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