question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deterministic sampling with Gym environments

See original GitHub issue

Hello everybody,

when I used Garage’s EpsilonGreedyStrategy and Gym environments I found that sampling is not deterministic. I’ve set the seed via deterministic.set_seed(seed). After some investigation I found that Garage doesn’t set any seeds for Gym. Is there any reason for that? As a user I would actually expect that Garage handles all that for me. Happy to do a PR in case you feel like this should be added!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ryanjuliancommented, Dec 4, 2020

I left a couple comments on the PR, otherwise this looks good to me!

0reactions
MkuuWaUjingacommented, Dec 4, 2020

Hi @ryanjulian and @krzentner, any update on this? Otherwise I would continue with extending the Environment API and add seeding for libraries other than Gym.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Write more documentation about environments #106 - GitHub
We should write a more detailed explanation of every environment, in particular, how the reward function is computed.
Read more >
Introduction: Reinforcement Learning with OpenAI Gym
Understand the basic goto concepts to get a quick start on reinforcement learning and learn to test your algorithms with OpenAI gym to...
Read more >
LEARNING TO SAMPLE WITH LOCAL AND GLOBAL ...
In the following section, we describe our method of learning the sampling policy for experience replay and the proposed network architecture in detail....
Read more >
Creating Custom Environments in OpenAI Gym
This post covers how to implement a custom environment in OpenAI Gym. As an example, we implement a custom environment that involves flying...
Read more >
Learn by example Reinforcement Learning with Gym - Kaggle
Let's review all the possible game environments in gym, see list below. ... EnvSpec(AirRaid-ram-v4), EnvSpec(AirRaid-ramDeterministic-v0), ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found