thu-ml/tianshou

Need a flexible method to record training data in TensorBoard

Aberta

#895 aberto em 29 de jun. de 2023

 (5 comentários) (0 reação) (1 responsável)Python (1.072 forks)batch import
enhancementgood first issue

Métricas do repositório

Stars
 (7.121 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

  • 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
  • I have visited the source website
  • I have searched through the issue tracker for duplicates
  • 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)
    0.5.0 0.26.3 1.12.1 1.21.5 3.7.13 (default, Oct 18 2022, 18:57:03) 
    [GCC 11.2.0] linux
    

Hello, Thanks for your brilliant work! While working with Tianshou, I encountered an issue related to recording training data in TensorBoard. Specifically, I need to record a value from the info dictionary, let's say info["key"], which is similar to an accumulated reward at the end of each episode.

Guia do colaborador