thu-ml/tianshou

Need a flexible method to record training data in TensorBoard

Open

#895 创建于 2023年6月29日

在 GitHub 查看
 (5 评论) (0 反应) (1 负责人)Python (7,121 star) (1,072 fork)batch import
enhancementgood first issue

描述

  • 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.

贡献者指南