这是indexloc提供的服务,不要输入任何密码
Skip to content

record training data for each vectorized environment in SubprocVectorEnv [Need help] #1233

@Xiong5Heng

Description

@Xiong5Heng
  • 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.")
  • 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)

The training env is SubprocVectorEnv and now I use the tensorboard to record the training data, but the tensorboard records all parallel env in one file. However, I need separate data for each environment which are initialized with different seeds.
Is there any example? The data can be record in tensorboard or saved in CSV file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions