Closed Delaunay closed 2 years ago
Gym removed a method used by torchbench
https://github.com/pytorch/benchmark/blob/main/torchbenchmark/models/soft_actor_critic/envs.py#L237
https://github.com/openai/gym/commit/3a8daafce113c6161190c0252c6a3a340cc38fd4#diff-8f3ae46be618d936b191b5f32bad0dcc4674ea5385bafb31a6c02840a43fe76aL196
need to replace env.seed(...) by env.reset(seed=seed)
env.seed(...)
env.reset(seed=seed)
#1271
Fixed in the main repo, but we cannot use newest version yet because of #29
Gym removed a method used by torchbench
https://github.com/pytorch/benchmark/blob/main/torchbenchmark/models/soft_actor_critic/envs.py#L237
https://github.com/openai/gym/commit/3a8daafce113c6161190c0252c6a3a340cc38fd4#diff-8f3ae46be618d936b191b5f32bad0dcc4674ea5385bafb31a6c02840a43fe76aL196
need to replace
env.seed(...)
byenv.reset(seed=seed)