sail-sg / envpool

C++-based high-performance parallel environment execution engine (vectorized env) for general RL environments.

Home Page:https://envpool.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request]Set random seed to each env

AndssY opened this issue · comments

Recently, it appears that seeds can only be sequentially assigned to environments, i.e. the seed for the i-th environment is set as i+seed.
Is there any way to assign a completely random seed to each environment? Like input a list of random seed. Is there any solution?

Yes, but that requires changing the c++ code. I'll try to revive master ci this week and together implement this feature.