pytorch / benchmark

TorchBench is a collection of open source benchmarks used to evaluate PyTorch performance.
BSD 3-Clause "New" or "Revised" License
880 stars 288 forks source link

soft_actor_critic does not use the new gym API and crash on env initialization #1271

Closed Delaunay closed 2 years ago

Delaunay commented 2 years ago

Gym deprecated the method env.seed and needs to use env.reset(seed=seed) instead

The method end.seed was removed in https://github.com/openai/gym/commit/3a8daafce113c6161190c0252c6a3a340cc38fd4#diff-8f3ae46be618d936b191b5f32bad0dcc4674ea5385bafb31a6c02840a43fe76aL196

xuzhao9 commented 2 years ago

Fixed in https://github.com/pytorch/benchmark/pull/1272